---
title: "Discussion on \"6. Subqueries | View | Indexes | Performence tips\" | Hashnode"
description: "Discussion on \"6. Subqueries | View | Indexes | Performence tips\". A subquery (also called a nested query or inner query) is a query written inside another SQL query.The subquery runs first it gives value then outer query use that value\nSubquery in WHERE - (add some"
url: "https://hashnode.com/posts/6-subqueries-view-indexes-performence-tips/6a4ff976fd2c343fbd6451f4"
---

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

Discussion

# [6\. Subqueries | View | Indexes | Performence tips](https://sqlwithayush.hashnode.dev/6-subqueries-view-indexes-performence-tips?utm_source=hashnode&utm_medium=feed)

A subquery (also called a nested query or inner query) is a query written inside another SQL query.The subquery runs first it gives value then outer query use that value Subquery in WHERE - (add some

Jul 9 · 6 min read · sqlwithayush.hashnode.dev  
Read the article

## Written by

[Ayush Rajput](https://hashnode.com/@ayuxsh)

@ayuxsh

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

</ hello world >

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
