Skip to main content

Working with SQL with your favorite editor ? Check this 👉

May 2, 2023Featuring:

Create VSCode shortcuts for making it easy to send your SQL queries to DuckDB for execution in the integrated terminal.

0:00Here's a nice and lightweight workflow when working with SQL in a database. Open your favorite editor. For me, it's VS Code. Okay, we're not here to debate about that. Open a SQL file. Then, open the integrated terminal and launch or connect to the DB. For me here, I'm just gonna use a local DuckDB database database. Now, configure your editor to send any command

0:23from the editor to the terminal. In VS Code, you can open the keyboard shortcut JSON file, do any key binding that you would like to, to this command. And voila, now you can leverage all the features of your editors including linting, formatting, and yes, you can even use

0:42Copilot if you're missing an AI friend. And this setup can of course be reproduced to any other editors.

Related Videos

"Taming file zoos: Data science with DuckDB database files" video thumbnail

Taming file zoos: Data science with DuckDB database files

Jun 2, 2025 • Alex Monahan

Tame "file zoos" with DuckDB! This talk reveals how DuckDB seamlessly integrates with Python to read/write diverse files (CSV, Parquet), organize data efficiently, enable larger-than-memory analysis, and streamline your workflows.

Python

Talk

"Friendly SQL with DuckDB" video thumbnail

0:54:38

Friendly SQL with DuckDB

Jan 5, 2024 • Alex Monahan, Mehdi Ouazza

Explore friendly and even friendlier SQL & DuckDB with Mehdi annd Alex Monahan! They discuss history, its future role in data and show some tips and tricks.

YouTube

SQL

Quack & Code