Learn how to write SQL Queries(Practice Complex SQL Queries)
49:56

Video Preview

Learn how to write SQL Queries(Practice Complex SQL Queries)

techTFQ 1.8M views Aug 22, 2021

Download high quality YouTube thumbnails from Learn how to write SQL Queries(Practice Complex SQL Queries) instantly.

Thumbnail Quality

Choose thumbnail resolution below.

Learn how to write SQL Queries(Practice Complex SQL Queries)

MAXRESDEFAULT

JPG

Download
Learn how to write SQL Queries(Practice Complex SQL Queries)

SDDEFAULT

JPG

Download
Learn how to write SQL Queries(Practice Complex SQL Queries)

HQDEFAULT

JPG

Download
Learn how to write SQL Queries(Practice Complex SQL Queries)

MQDEFAULT

JPG

Download
Learn how to write SQL Queries(Practice Complex SQL Queries)

DEFAULT

JPG

Download

Video Information

Learn how to write SQL Queries(Practice Complex SQL Queries)
In this video, I will explain the thinking behind writing an SQL query. We shall go through five different complex SQL queries and try to solve it. The intention is to practice complex SQL queries. The idea is to not just write SQL Queries but also to explain you the thinking behind how to choose a particular approach to solve a SQL query and how to choose different SQL functions or concepts to solve a problem.

If you’d like to practice SQL queries or explore my recorded SQL courses, check out my all-in-one SQL learning platform, SQLNest 👇
https://sqlnest.com/

Link to my blog where I have posted all of these SQL Queries:
https://techtfq.com/blog/learn-how-to-write-sql-queries-practice-complex-sql-queries

In this blog, you will find 9 SQL queries along with all the scripts to create the table, load data into these tables and also the solved SQL Queries. Out of these 9 SQL Queries, In this video, I have only solved 5 of them in order to reduce the video length.

Timeline:
00:00 Intro
01:36 Intro about the blog
03:25 SQL Query to fetch duplicate records from a table using window function
09:27 SQL Query to fetch doctors working in same hospital using self join
15:55 SQL Query to fetch users who logged in consecutively 3 or more times
25:10 SQL Query to fetch days when the temperature was very cold for consecutively 3 or more days
36:13 SQL Query to fetch top 2 accounts with maximum patients per month

Learning SQL Concepts and practically writing SQL queries are two different things. You may be familiar with the concept such as window function but until and unless you apply these concepts to write SQL queries, you will never truly understand SQL.

May of the queries I am going to solve in this video, I will be using window function such as LEAD, LAG, RANK, ROW_NUMBER etc. However, some of the queries are solved using self join, sub queries or inner joins.

The idea behind making this video, is to explain the thinking behind solving an SQL question. How to read the question and understand the problem statement and then analyze the existing data so that we can come up with an approach to write a query which can return the required result. These steps are very important in order for us to determine the different SQL concepts or functions to be used to solve the problem.

Please comment below your feedback if you liked this kind of video or if you have any doubts on any other queries mentioned in the blog.

🔴 WATCH MORE VIDEOS HERE 👇

✅ SQL Tutorial - Basic concepts:
https://www.youtube.com/playlist?list=PLavw5C92dz9HQQ_COgGb7kf_1H8UWUBxO

✅ SQL Tutorial - Intermediate concepts:
https://www.youtube.com/playlist?list=PLavw5C92dz9FD9XspliRM_HZM_jK7tkii

✅ SQL Tutorial - Advance concepts:
https://www.youtube.com/playlist?list=PLavw5C92dz9GbmgiW4TWVnxhjMFOIf0Q7

✅ Practice Solving Basic SQL Queries:
https://www.youtube.com/playlist?list=PLavw5C92dz9F66P3GFo5O6nJ4DfZNhVsp

✅ Practice Solving Intermediate SQL Queries:
https://www.youtube.com/playlist?list=PLavw5C92dz9EIYmNXJ8ZtQ1bmLIpt0SpV

✅ Practice Solving Complex SQL Queries:
https://www.youtube.com/playlist?list=PLavw5C92dz9Fahr7taauUx5RnTfuGyL--

✅ Data Analytics Career guidance:
https://www.youtube.com/playlist?list=PLavw5C92dz9FDsr995DjwCy9XNaIukb8P

✅ SQL Course, SQL Training Platform Recommendations:
https://www.youtube.com/playlist?list=PLavw5C92dz9GqF1Q_zn8KnYvFgtEOh-2n

✅ Python Tutorial:
https://www.youtube.com/playlist?list=PLavw5C92dz9FePZXIo4jpsupqp3X0w2SW

✅ Git and GitHub Tutorial:
https://www.youtube.com/playlist?list=PLavw5C92dz9EI1MPlqqDpe3bgr8RJZE0b

✅ Data Analytics Projects:
https://www.youtube.com/playlist?list=PLavw5C92dz9HwT_uStsDdJbuBOt_XD0ch

THANK YOU,
Thoufiq

Related Videos

Popular Videos

Practice Writing SQL Queries using Real Dataset(Practice Complex SQL Queries)
54:41

Practice Writing SQL Queries using Real Dataset(Practice Complex SQL Queries)

techTFQ

280K views 4 years ago
SQL JOINS Tutorial for beginners | Practice SQL Queries using JOINS - Part 1
35:23

SQL JOINS Tutorial for beginners | Practice SQL Queries using JOINS - Part 1

techTFQ

1.4M views 4 years ago
SQL WITH Clause | How to write SQL Queries using WITH Clause | SQL CTE (Common Table Expression)
24:48

SQL WITH Clause | How to write SQL Queries using WITH Clause | SQL CTE (Common Table Expression)

techTFQ

778K views 4 years ago
SQL Window Function | How to write SQL Query using RANK, DENSE RANK, LEAD/LAG | SQL Queries Tutorial
24:55

SQL Window Function | How to write SQL Query using RANK, DENSE RANK, LEAD/LAG | SQL Queries Tutorial

techTFQ

1.5M views 5 years ago
SQL Crash Course for Beginners
45:52

SQL Crash Course for Beginners

Maven Analytics

128K views 1 year ago
Learn to Automate Everything with Power Query in Excel (Download Files)
27:01

Learn to Automate Everything with Power Query in Excel (Download Files)

Leila Gharani

716K views 11 months ago
Recursive SQL Queries Tutorial | Learn to write SQL Queries using Recursion
33:52

Recursive SQL Queries Tutorial | Learn to write SQL Queries using Recursion

techTFQ

296K views 4 years ago
Solving SQL Interview Queries | Tricky SQL Interview Queries
37:22

Solving SQL Interview Queries | Tricky SQL Interview Queries

techTFQ

357K views 4 years ago
Excel vs Power BI vs SQL vs Python | Restaurant Price History Lookup
21:04

Excel vs Power BI vs SQL vs Python | Restaurant Price History Lookup

Maven Analytics

248K views 2 months ago
The Only VLOOKUP Guide You’ll Ever Need. (No More Errors)
15:15

The Only VLOOKUP Guide You’ll Ever Need. (No More Errors)

Leila Gharani

880K views 2 years ago
Test Your SQL Skills With These Real Interview Questions!
24:55

Test Your SQL Skills With These Real Interview Questions!

Chandoo

90K views 6 months ago
How To Think SO CLEARLY People Assume You're A Genius
19:57

How To Think SO CLEARLY People Assume You're A Genius

Sandeep Swadia | theMITmonk

752K views 2 weeks ago
Subquery in SQL | Correlated Subquery + Complete SQL Subqueries Tutorial
1:10:44

Subquery in SQL | Correlated Subquery + Complete SQL Subqueries Tutorial

techTFQ

1.4M views 4 years ago
SQL Indexes (Visually Explained) | Clustered vs Nonclustered | #SQL Course 35
43:10

SQL Indexes (Visually Explained) | Clustered vs Nonclustered | #SQL Course 35

Data with Baraa

124K views 1 year ago
7 Simple Tricks to Instantly Make Your SQL Queries Better
13:40

7 Simple Tricks to Instantly Make Your SQL Queries Better

techTFQ

138K views 5 months ago
Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
56:51

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Ryan Peterman

372K views 2 months ago
Learn 12 Advanced SQL Concepts in 20 Minutes (project files included!)
21:50

Learn 12 Advanced SQL Concepts in 20 Minutes (project files included!)

Maven Analytics

231K views 1 year ago
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34

Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF

Decomplexify

3.1M views 4 years ago
SQL Full Course for free 🐬
3:00:00

SQL Full Course for free 🐬

Bro Code

3.6M views 3 years ago
MySQL Workbench Data Analysis Using Kaggle Dataset Portfolio Project
38:05

MySQL Workbench Data Analysis Using Kaggle Dataset Portfolio Project

Mdu khoza

576 views 2 years ago

Download HD YouTube Video Thumbnails

Learn how to write SQL Queries(Practice Complex SQL Queries) thumbnail images are available in multiple resolutions including HD, Full HD, SD, and maximum resolution depending on the original uploaded image quality.

TubeSnap helps users instantly preview and download YouTube thumbnail images without watermark, registration, or software installation. All thumbnails are fetched directly from publicly accessible YouTube image servers.

YouTube thumbnails are widely used by bloggers, designers, marketers, content creators, and publishers for article previews, social media posts, presentations, and content inspiration.

The downloader supports thumbnails from gaming videos, music videos, tutorials, livestreams, interviews, podcasts, documentaries, educational videos, sports highlights, and viral YouTube uploads.

Users can access thumbnail downloads on desktop computers, tablets, and smartphones with fast loading performance and multilingual support.

How to Download YouTube Thumbnails

Paste a YouTube video URL into the search field and TubeSnap will instantly generate downloadable thumbnail resolutions for the selected video.

Supported Thumbnail Resolutions

TubeSnap supports default, medium quality, high quality, standard definition, and maximum resolution YouTube thumbnails whenever available from the original video source.

Free Online Thumbnail Extractor

The platform works entirely online without registration, extensions, software downloads, or hidden limitations.