Run SQL queries in EXCEL (just like a normal Excel formula ๐Ÿคฏ)

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต

๐——๐—˜๐—ฆ๐—–๐—ฅ๐—œ๐—ฃ๐—ง๐—œ๐—ข๐—ก
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€
Did you know that you can use an SQL formula in Excel? Learn in this video how to run SQL queries in Excel. You don't have to be a programmer to be able to get the most out of SQL. In this video, you'll learn how to add the SQL formula to your Excel application. In particular, we will use the Python package xlwings and the xlwings Excel add-in. After setting everything up, I will walk you through some practical examples and share my tips and tricks for using SQL in Excel.

๐ŸŒ ๐—Ÿ๐—œ๐—ก๐—ž๐—ฆ:

โญ ๐—ง๐—œ๐— ๐—˜๐—ฆ๐—ง๐—”๐— ๐—ฃ๐—ฆ:
00:00 โ€“ Intro
00:31 โ€“ Installing the dependencies
00:57 โ€“ First SQL Example
03:07 โ€“ More SQL sample queries
06:47 โ€“ Outro

๐—ง๐—ข๐—ข๐—Ÿ๐—ฆ ๐—”๐—ก๐—— ๐—ฅ๐—˜๐—ฆ๐—ข๐—จ๐—ฅ๐—–๐—˜๐—ฆ
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

๐—–๐—ข๐—ก๐—ก๐—˜๐—–๐—ง ๐—ช๐—œ๐—ง๐—› ๐— ๐—˜
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

โ˜• ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ?
If you want to support this channel, you can buy me a coffee here:
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

The content of this channel is sooo underrated!! Itโ€™s not the first time I search for something very specific and end up here finding exactly this and more over my expectations!! ๐ŸŽ‰๐ŸŽ‰

Weiter so, Sven! Danke sehr!

plavali_znaem
ะะฒั‚ะพั€

I love SQL and hate pivot tables - This is awesome!
Thanks!

TonySitterly
ะะฒั‚ะพั€

This is just AMAZING! Is so much better than using python/pandas on the termina!!! I dont know why people arent talking about this.... I was searching for something like this and you were the only video I found. Keep it up!

alanmusic
ะะฒั‚ะพั€

Wow! This is similar to the FILTER function but more advanced and easier to do if you know or prefer to use SQL for filtering. I can't think of a use case for my current job but it's a handy piece of knowledge to have. Thank you very much for sharing! ๐Ÿ˜‰

kuuuyajim
ะะฒั‚ะพั€

Exactly what I was looking for. Thanks๐Ÿ˜Š๐Ÿ‘

mubafaw
ะะฒั‚ะพั€

Hi Sven, one more golden feather... shown great thing.. ๐Ÿ’Œ

samaritanx
ะะฒั‚ะพั€

Thanks man this is huge and it saves me a lot of time, but why excel doesn't have this included (or a similar feature) is beyond my understanding

hamzakrack
ะะฒั‚ะพั€

This is great! No idea this could be done

andybecker
ะะฒั‚ะพั€

Very cool! I think Microsoft have to update Power Query tool for python and sql dialects. Pandas, sql have same language structure in my opinion.

sergeysergey
ะะฒั‚ะพั€

(1) How do you configure conditional formatting for output from the SQL() function?
(2) Does the SQL() function support UPDATE or other SQL statements?
Thank you for a very useful video!

PirieHart
ะะฒั‚ะพั€

Thank you very much for the excellent tutorial.

soutasimportagencies
ะะฒั‚ะพั€

โคโคโค๐Ÿ˜‚๐Ÿ˜… Merci beaucoup pour votre aide. From Algeria

berbarmoumen
ะะฒั‚ะพั€

This so much fun. Will definitely use it. ๐Ÿ’ฏ

chaitanyadeshmukh
ะะฒั‚ะพั€

Hey there,
God bless your efforts.
I have only a general enquiry as a new sql learner.
Suppose i created one table on sql management studio for data entry purpose...
How can i compile this sql table into a windows application? In what compiler should i placed it?
The reason i am asking that i would like to discover how an sql application is finally presented as an application...
THanks for taking care of this

hasanmougharbel
ะะฒั‚ะพั€

Is it possible to use variable declaration? Example, cell A1 has value as date
declare @date_s date = A1
select * from table a where a.DateDocument = @date_s

grev
ะะฒั‚ะพั€

Extremely useful since I work a lot in Excel. Many thanks

alexrosen
ะะฒั‚ะพั€

Why does Joseph Slatter write a book untitled "Subscribe" ? ๐Ÿ˜†๐Ÿ˜†๐Ÿ˜† just jokin, thanks a lot for your amazing work

jrabaona
ะะฒั‚ะพั€

Because of company policy, I have Sophos install and when I create the query, it shuts down Excel, because of 'malicious behavior'...

rianne
ะะฒั‚ะพั€

Well I can again tell my students that learning SQL will get them anywhere, even using Excel ๐Ÿ˜ƒ

andfanilo
ะะฒั‚ะพั€

Great video! Just a question, how did you empty the worksheet from cells and automatically format the query result? Thanks!

gamenotfound