borispinero.wallet retweeted
What is the 𝗦𝗤𝗟 𝗤𝘂𝗲𝗿𝘆 𝗼𝗿𝗱𝗲𝗿 𝗼𝗳 𝗘𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻?
There are many steps involved in optimising your SQL Queries. It is helpful to understand the order of SQL Query Execution as we might have constructed a different picture mentally.
The actual order is as follows:
𝟭. 𝗙𝗥𝗢𝗠 𝗮𝗻𝗱 𝗝𝗢𝗜𝗡: determine the base data of interest.
𝟮. 𝗪𝗛𝗘𝗥𝗘: filter base data of interest to retain only the data that meets the where clause.
𝟯. 𝗚𝗥𝗢𝗨𝗣 𝗕𝗬: group the filtered data by a specific column or multiple columns. Groups are used to calculate aggregates for selected columns.
𝟰. 𝗛𝗔𝗩𝗜𝗡𝗚: filter data again by defining constraints on the columns that we grouped by.
𝟱. 𝗦𝗘𝗟𝗘𝗖𝗧: select a subset of columns from the filtered grouped result. This is also where 𝗪𝗜𝗡𝗗𝗢𝗪 𝗳𝘂𝗻𝗰𝘁𝗶𝗼𝗻 𝗮𝗴𝗴𝗿𝗲𝗴𝗮𝘁𝗶𝗼𝗻𝘀 happen.
𝟲. 𝗢𝗥𝗗𝗘𝗥 𝗕𝗬: order the result by one or multiple columns.
𝟳. 𝗟𝗜𝗠𝗜𝗧: only retain the top n rows from the ordered result.
Below is a nice way to visualise it.
What are your thoughts? Let me know in the comment section 👇
--------
Follow me to upskill in #MLOps, #MachineLearning, #DataEngineering, #DataScience and overall #Data space.
Also hit 🔔to stay notified about new content.
𝗗𝗼𝗻’𝘁 𝗳𝗼𝗿𝗴𝗲𝘁 𝘁𝗼 𝗹𝗶𝗸𝗲 💙, 𝘀𝗵𝗮𝗿𝗲 𝗮𝗻𝗱 𝗰𝗼𝗺𝗺𝗲𝗻𝘁!
Join a growing community of Data Professionals by subscribing to my 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿: newsletter.swirlai.com
borispinero.wallet retweeted
My ChatGPT Prompts Cheat Sheet for beginners🔥
Unlock the 100% potential of ChatGPT with this cheat sheet.
borispinero.wallet retweeted
This AI idea might be worth millions 🔥
This tool, memecam.dk, generates engaging memes with just a single click from your phone.
ChatGPT, but with eyes 👇
borispinero.wallet retweeted
GPT-4 is great.
But this midjourney V5 is special 💛
These images are generated by the new Midjourney V5
borispinero.wallet retweeted
Here's another crazy use case showcasing the new multimodal capabilities of #GPT4!
Give it a photo of your fridge, and it will come up with food recipes - all generated in under a minute! 🤯👇
borispinero.wallet retweeted
This is a frightening visual for me.
The first dot is the amount of data Chat GPT 3 was trained on.
The second is what chat GPT 4 is trained on.
They are already doing demos.
It can write a 60,000 word book from a single prompt.
The only question I've had about AI…
borispinero.wallet retweeted
How long before anyone can query a database without having to learn SQL?
borispinero.wallet retweeted
Voici le webdesign d'un site d'une start-up dans la Blockchain généré en 10 secondes par l'IA MidJourney. 😲😲😲
Que pensez-vous de cette révolution qui va sans doute boulverser énormément de domaines ? 🤯#blockchain #midjourney #midjourneyart #Web3
borispinero.wallet retweeted
This is great
Introducing Bird SQL, a Twitter search interface that is powered by Perplexity’s structured search engine. It uses OpenAI Codex to translate natural language into SQL, giving everyone the ability to navigate large datasets like Twitter.
perplexity.ai/sql
borispinero.wallet retweeted
borispinero.wallet retweeted
Todo el potencial de los NFTs resumido en una imagen 🔥
#NFTCommunity
borispinero.wallet retweeted
Bingo! You've won the week.
Men, let's meet tomorrow (EXCLUSIVE THREAD)
Follow @Wealth_Pil for daily updates on;
• Making money online
• Persuasive writing
• Business ideas
•Creativity
• Life

































