---
title: "Discussion on \"Running SQL Commands Directly from Jupyter: The Power of %%sql\" | Hashnode"
description: "Discussion on \"Running SQL Commands Directly from Jupyter: The Power of %%sql\". How to use %%sql in Jupyter"
url: "https://hashnode.com/posts/running-sql-commands-directly-from-jupyter-the-power-of-sql/662e744e4265ff099e372b42"
---

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

Discussion

# [Running SQL Commands Directly from Jupyter: The Power of %%sql](https://postgres.hashnode.dev/running-sql-commands-directly-from-jupyter-the-power-of-sql?utm_source=hashnode&utm_medium=feed)

How to use %%sql in Jupyter

Apr 28, 2024 · 3 min read · postgres.hashnode.dev  
Read the article

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

## Written by

[Itay Braun](https://hashnode.com/@itayb)

@itayb

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

CTO, Founder of Metis, Founder of SkyGiraffe (acquired by ServiceNow)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
