<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SQL Practice - Tutorials</title>
    <link>https://sqlpractice.co.in/</link>
    <atom:link href="https://sqlpractice.co.in/feed.xml" rel="self" type="application/rss+xml"/>
    <description>Free SQL tutorials with runnable examples: SELECT, JOINs, GROUP BY, CTEs, window functions and interview preparation.</description>
    <language>en</language>
    <lastBuildDate>Fri, 11 Sep 2026 06:38:42 GMT</lastBuildDate>
    <item>
      <title>SQL Views: CREATE VIEW, When to Use One, and What It Costs</title>
      <link>https://sqlpractice.co.in/blog/sql-views.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-views.html</guid>
      <description>What a view is, how CREATE VIEW works, why it does not make queries faster, when a view is updatable, and how a materialized view differs - with runnable examples.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>UNION vs UNION ALL in SQL: Which One and Why</title>
      <link>https://sqlpractice.co.in/blog/sql-union-vs-union-all.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-union-vs-union-all.html</guid>
      <description>UNION removes duplicate rows and UNION ALL keeps them. What that costs, the column rules both must obey, where ORDER BY goes, and why UNION ALL is the right default.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>How to Find the Second Highest Salary in SQL (5 Ways)</title>
      <link>https://sqlpractice.co.in/blog/sql-second-highest-salary.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-second-highest-salary.html</guid>
      <description>Five ways to find the second highest salary in SQL - subquery, LIMIT OFFSET, correlated count, DENSE_RANK and CTE - plus the Nth highest and ties.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>Primary Key vs Foreign Key in SQL: The Difference Explained</title>
      <link>https://sqlpractice.co.in/blog/sql-primary-key-vs-foreign-key.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-primary-key-vs-foreign-key.html</guid>
      <description>A primary key identifies a row; a foreign key points at one. How they differ in uniqueness, NULLs and count - plus composite keys and ON DELETE.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL ORDER BY and LIMIT: Sorting, Top-N and Pagination</title>
      <link>https://sqlpractice.co.in/blog/sql-order-by-limit.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-order-by-limit.html</guid>
      <description>How ORDER BY sorts - several columns, expressions, aliases, NULL placement - and how LIMIT with OFFSET gives you top-N results and pagination.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>Database Normalization: 1NF, 2NF and 3NF with Examples</title>
      <link>https://sqlpractice.co.in/blog/sql-normalization.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-normalization.html</guid>
      <description>Normalization explained by fixing one badly designed table step by step - first normal form, second, third - plus what denormalization is for and when to stop.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL Indexes: How They Speed Up Queries (and What They Cost)</title>
      <link>https://sqlpractice.co.in/blog/sql-indexes.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-indexes.html</guid>
      <description>What an index actually is, how CREATE INDEX works, which columns to index, why composite column order matters, and the mistakes that stop an index being used at all.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>Find and Delete Duplicate Rows in SQL</title>
      <link>https://sqlpractice.co.in/blog/sql-find-duplicates.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-find-duplicates.html</guid>
      <description>Find duplicate rows in SQL with GROUP BY and HAVING, see every copy rather than the counts, and delete the extras while keeping one - safely.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SELECT DISTINCT in SQL: Removing Duplicate Rows from Results</title>
      <link>https://sqlpractice.co.in/blog/sql-distinct-guide.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-distinct-guide.html</guid>
      <description>How SELECT DISTINCT works, why it applies to the whole row and not one column, DISTINCT with several columns, COUNT(DISTINCT), and when GROUP BY is the better tool.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>DELETE vs TRUNCATE vs DROP in SQL: The Real Difference</title>
      <link>https://sqlpractice.co.in/blog/sql-delete-truncate-drop.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-delete-truncate-drop.html</guid>
      <description>DELETE removes chosen rows, TRUNCATE empties a table, DROP removes the table. What each logs and resets, which can be rolled back, and how to choose.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL Constraints: NOT NULL, UNIQUE, CHECK, DEFAULT and Keys</title>
      <link>https://sqlpractice.co.in/blog/sql-constraints.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-constraints.html</guid>
      <description>NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK and DEFAULT explained with the exact errors they produce - and why they belong in the database.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL Commands: DDL, DML, DCL and TCL Explained</title>
      <link>https://sqlpractice.co.in/blog/sql-commands-ddl-dml-dcl-tcl.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-commands-ddl-dml-dcl-tcl.html</guid>
      <description>Every SQL statement belongs to one of four families - DDL, DML, DCL and TCL. What each does, which can be rolled back, and why implicit commits matter.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL Aggregate Functions: COUNT, SUM, AVG, MIN and MAX</title>
      <link>https://sqlpractice.co.in/blog/sql-aggregate-functions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-aggregate-functions.html</guid>
      <description>COUNT, SUM, AVG, MIN and MAX with runnable examples: COUNT(*) vs COUNT(column), how NULLs are skipped, and why WHERE cannot filter an aggregate.</description>
      <pubDate>Thu, 10 Sep 2026 18:28:03 +0530</pubDate>
    </item>
    <item>
      <title>SQL for Data Analysts: The Queries You Actually Write</title>
      <link>https://sqlpractice.co.in/blog/sql-for-data-analysts.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-for-data-analysts.html</guid>
      <description>The SQL a working data analyst uses every day: filtering, grouping, joins, conditional aggregation, cohorts and running totals - with runnable examples and the mistakes that quietly corrupt reports.</description>
      <pubDate>Fri, 4 Sep 2026 10:36:16 +0530</pubDate>
    </item>
    <item>
      <title>SQL Exercises with Solutions: 15 Practice Problems</title>
      <link>https://sqlpractice.co.in/blog/sql-exercises-with-solutions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-exercises-with-solutions.html</guid>
      <description>Fifteen SQL practice problems with full solutions and explanations, from a first SELECT to multi-step reports. Every solution runs on a live sample database you can open in one click.</description>
      <pubDate>Fri, 4 Sep 2026 03:20:10 +0530</pubDate>
    </item>
    <item>
      <title>PostgreSQL vs MySQL vs SQL Server vs SQLite: SQL Syntax Differences</title>
      <link>https://sqlpractice.co.in/blog/sql-dialect-differences.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-dialect-differences.html</guid>
      <description>The SQL differences that actually bite when you switch databases: LIMIT vs TOP, quoting, string concatenation, dates, booleans, auto-increment keys, upserts and window-function support, side by side.</description>
      <pubDate>Fri, 4 Sep 2026 03:20:10 +0530</pubDate>
    </item>
    <item>
      <title>SQL Window Functions: ROW_NUMBER, RANK &amp; PARTITION BY</title>
      <link>https://sqlpractice.co.in/blog/sql-window-functions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-window-functions.html</guid>
      <description>What window functions do, how ROW_NUMBER, RANK, DENSE_RANK and PARTITION BY differ, and the top-N-per-group pattern interviews often ask for.</description>
      <pubDate>Sat, 29 Aug 2026 06:40:12 +0530</pubDate>
    </item>
    <item>
      <title>SQL Scenario Questions for Data Analyst Interviews</title>
      <link>https://sqlpractice.co.in/blog/sql-data-analyst-interview-questions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-data-analyst-interview-questions.html</guid>
      <description>Ten business-scenario SQL questions of the kind data analyst interviews actually ask, each with a runnable solution and the reasoning an interviewer wants to hear.</description>
      <pubDate>Sat, 29 Aug 2026 06:40:12 +0530</pubDate>
    </item>
    <item>
      <title>SQL Cheat Sheet: Every Clause and Function on One Page</title>
      <link>https://sqlpractice.co.in/blog/sql-cheat-sheet.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-cheat-sheet.html</guid>
      <description>A free, single-page SQL cheat sheet — SELECT, JOINs, WHERE operators, aggregate functions, GROUP BY, and the real query execution order, with runnable examples.</description>
      <pubDate>Wed, 26 Aug 2026 15:11:52 +0530</pubDate>
    </item>
    <item>
      <title>The SQL WHERE Clause: Filtering Data with Every Operator</title>
      <link>https://sqlpractice.co.in/blog/sql-where-clause-guide.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-where-clause-guide.html</guid>
      <description>A complete guide to the SQL WHERE clause: comparison operators, AND/OR/NOT, IN, BETWEEN, LIKE, and IS NULL, with runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL Subqueries Explained: Nested SELECT Statements</title>
      <link>https://sqlpractice.co.in/blog/sql-subqueries-guide.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-subqueries-guide.html</guid>
      <description>Scalar, row, and correlated subqueries in SQL explained with examples, plus when a JOIN is the better tool instead.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL String Functions: UPPER, SUBSTRING, TRIM &amp; More</title>
      <link>https://sqlpractice.co.in/blog/sql-string-functions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-string-functions.html</guid>
      <description>The core SQL string functions — UPPER, LOWER, LEN, SUBSTRING, REPLACE, TRIM, CONCAT, COALESCE and NULLIF — explained with runnable examples and dialect notes.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>The SQL SELECT Statement: A Beginner's Guide (With Examples)</title>
      <link>https://sqlpractice.co.in/blog/sql-select-statement-guide.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-select-statement-guide.html</guid>
      <description>Learn the SQL SELECT statement from scratch: column lists, aliases, DISTINCT, ORDER BY, and LIMIT, with examples you can run instantly in the browser.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL JOINs Explained: INNER, LEFT, RIGHT &amp; FULL (With Examples)</title>
      <link>https://sqlpractice.co.in/blog/sql-joins-explained.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-joins-explained.html</guid>
      <description>A clear, table-by-table walkthrough of INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN in SQL, with runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>25 SQL Interview Questions and Answers (2026 Guide)</title>
      <link>https://sqlpractice.co.in/blog/sql-interview-questions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-interview-questions.html</guid>
      <description>25 commonly asked SQL interview questions with clear answers — from WHERE vs HAVING to window functions, normalization, and finding duplicate rows.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL INSERT, UPDATE, DELETE: Changing Data Safely</title>
      <link>https://sqlpractice.co.in/blog/sql-insert-update-delete.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-insert-update-delete.html</guid>
      <description>How to add, change and remove rows in SQL — and the SELECT-first habit that stops a missing WHERE clause from destroying a table. Runnable examples included.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>EXISTS vs IN in SQL: Which to Use and When</title>
      <link>https://sqlpractice.co.in/blog/sql-exists-vs-in.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-exists-vs-in.html</guid>
      <description>How EXISTS and IN differ, why NOT IN breaks on NULL while NOT EXISTS does not, when a JOIN is better than either, and how to choose - with runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL Date Functions: YEAR, MONTH, DATEDIFF &amp; Ranges</title>
      <link>https://sqlpractice.co.in/blog/sql-date-functions.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-date-functions.html</guid>
      <description>The date functions real queries use — YEAR, MONTH, DAY, DATEDIFF — plus the safe date-range pattern that avoids the classic BETWEEN bug. Runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL CTEs Explained: How the WITH Clause Works</title>
      <link>https://sqlpractice.co.in/blog/sql-cte-with-clause.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-cte-with-clause.html</guid>
      <description>What a Common Table Expression is, why WITH beats nested subqueries for readable multi-step queries, and how to chain several CTEs — with runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>SQL CASE WHEN Explained: Conditional Logic in Queries</title>
      <link>https://sqlpractice.co.in/blog/sql-case-when.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/sql-case-when.html</guid>
      <description>How SQL CASE expressions work: searched vs simple CASE, custom sort orders, counting and summing by condition — with runnable examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>How to Write SQL Queries: A Complete Beginner's Guide</title>
      <link>https://sqlpractice.co.in/blog/how-to-write-sql-queries.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/how-to-write-sql-queries.html</guid>
      <description>Never written SQL before? This step-by-step guide starts from zero — what a table is, your first query, filtering, sorting, and more — with examples you can run instantly.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
    <item>
      <title>GROUP BY vs HAVING in SQL: What's the Difference?</title>
      <link>https://sqlpractice.co.in/blog/group-by-vs-having.html</link>
      <guid isPermaLink="true">https://sqlpractice.co.in/blog/group-by-vs-having.html</guid>
      <description>The clear, memorable explanation of GROUP BY vs HAVING in SQL, why WHERE can't filter aggregates, and worked examples.</description>
      <pubDate>Tue, 18 Aug 2026 08:36:02 +0530</pubDate>
    </item>
  </channel>
</rss>
