---
title: "Discussion on \"How to avoid top 5 mistakes in SQL\" | Hashnode"
description: "Discussion on \"How to avoid top 5 mistakes in SQL\". Let’s discuss some tips and tricks to avoid major mistakes in SQL\nNever use Select *\n\nselect *, gets the data from all the columns, which increases the latency and is expensive for huge data.\nInstead, get only the required fields, which limits the si..."
url: "https://hashnode.com/posts/how-to-avoid-top-5-mistakes-in-sql/633c1410cb00c748bf316238"
---

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

Discussion

# [How to avoid top 5 mistakes in SQL](https://blogofcodes.hashnode.dev/how-to-avoid-top-5-mistakes-in-sql?utm_source=hashnode&utm_medium=feed)

Let’s discuss some tips and tricks to avoid major mistakes in SQL Never use Select \* select \*, gets the data from all the columns, which increases the latency and is expensive for huge data. Instead, get only the required fields, which limits the si...

Oct 4, 2022 · 2 min read · blogofcodes.hashnode.dev  
Read the article

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

## Written by

[Rahul](https://hashnode.com/@sairahul1)

@sairahul1

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

Developer, Indie maker

## Responses 1

Markdown supported · ⌘↵ to post

[Anuoluwapo Mokuolu](https://hashnode.com/@Ayowande)

[Oct 5, 2022](https://hashnode.com/posts/how-to-avoid-top-5-mistakes-in-sql/633c1410cb00c748bf316238/comment/633ceff3b7a1dcae0588c42f)

Thank you so much for this article. Now I know some things to avoid while using SQL
