---
title: "Discussion on \"An intro to SQL Subqueries.\" | Hashnode"
description: "Discussion on \"An intro to SQL Subqueries.\". Subqueries remain one of the most powerful features in SQL. They can be used to filter data, generate values, and construct temporary data sets.\nWhat is a subquery?\nA subquery is a query contained within another statement (containing statement). It i..."
url: "https://hashnode.com/posts/an-intro-to-sql-subqueries/61d955e43c89a32a8681753e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [An intro to SQL Subqueries.](https://ideocode.hashnode.dev/an-intro-to-sql-subqueries?utm_source=hashnode&utm_medium=feed)

Subqueries remain one of the most powerful features in SQL. They can be used to filter data, generate values, and construct temporary data sets. What is a subquery? A subquery is a query contained within another statement (containing statement). It i...

Jan 8, 2022 · 3 min read · ideocode.hashnode.dev  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[Michael Obado](https://hashnode.com/@michaelobado)

@michaelobado · Nairobi, Kenya

  
[View profile](https://hashnode.com/@michaelobado)

Databases. Python. Quality Engineering.

Database Enthusiast. Quality Engineer.

## Responses 4

Markdown supported · ⌘↵ to post

[Alex Kagai](https://hashnode.com/@alexkagai)

[Jan 9, 2022](https://hashnode.com/posts/an-intro-to-sql-subqueries/61d955e43c89a32a8681753e/comment/61da70d79881c433c36b4924)

## Thank you

-   This read was enlightening as I did not know what are subqueries.

[Junior Ambundo](https://hashnode.com/@captjak)

[Jan 8, 2022](https://hashnode.com/posts/an-intro-to-sql-subqueries/61d955e43c89a32a8681753e/comment/61d961573c89a32a86817677)

nice work, you've made it easy to follow and understand

[Otwar Moses](https://hashnode.com/@Opiers)

[Jan 8, 2022](https://hashnode.com/posts/an-intro-to-sql-subqueries/61d955e43c89a32a8681753e/comment/61d95feecda0d0294b695993)

Very educative.

[Abach Wayne](https://hashnode.com/@Waok2)

[Jan 8, 2022](https://hashnode.com/posts/an-intro-to-sql-subqueries/61d955e43c89a32a8681753e/comment/61d95915cda0d0294b69587c)

Pretty insightful
