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

techTFQ November 27, 2021
Video Thumbnail

About

Hi, I am Thoufiq! On this channel, I teach SQL, Python and Database concepts in the field of Data Analytics and Data Science in the most simplest manner possible. If this excites you then do consider subscribing. You will also find videos covering interview questions and also videos where I provide career guidance in the field of Data Analytics and Data Science which should help you find your dream job. I aim to make techTFQ a go to YouTube channel for anyone learning SQL, Python and Databases in the field of Data Analytics and Data Science. Thank you for begin here :)

You May Also Like

Essential Yoga Starter Kit

AI-recommended products based on this video

Loading...
Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

(2)
$15.99$8.90
FREE delivery Sun, Aug 10 on your first order
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

(259)
$18.98$13.90
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

(0)
$68.46
FREE delivery Jun 25 - 30
Loading...
Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

(2)
$15.99$8.90
FREE delivery Sun, Aug 10 on your first order
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

(259)
$18.98$13.90
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

(0)
$68.46
FREE delivery Jun 25 - 30
Loading...
Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

(2)
$15.99$8.90
FREE delivery Sun, Aug 10 on your first order
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

(259)
$18.98$13.90
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

(0)
$68.46
FREE delivery Jun 25 - 30
Loading...
Entry Door Knob with Lock and Keys for Bedroom/Bathroom, Interior/Exterior Door Handles, Indoor/Outdoor Privacy Door Knob, Main/Front Door Handle Lock, Home Security, Poignee Porte Interieur/Exterieur

Entry Door Knob with Lock and Keys for Bedroom/Bathroom, Interior/Exterior Door Handles, Indoor/Outdoor Privacy Door Knob, Main/Front Door Handle Lock, Home Security, Poignee Porte Interieur/Exterieur

(91)
$8.98
FREE delivery Thu, Oct 16 on your first order
500+ bought in past month
Loading...
2025 Deep Cat Extra Large High Sides, 21. 45 x 16. 14 x 10. 43 Inches Low Entry Cat Litter Tray Litter Open Splashing Pan Easy Clean for Small Medium (Green) (Yellow, 49x35. 5x13cm)

2025 Deep Cat Extra Large High Sides, 21. 45 x 16. 14 x 10. 43 Inches Low Entry Cat Litter Tray Litter Open Splashing Pan Easy Clean for Small Medium (Green) (Yellow, 49x35. 5x13cm)

(2)
$15.99
$4.99 delivery Sep 17 - 29
Loading...
eufy Security 5-Piece Home Alarm Kit, Home Security System, Keypad, Motion Sensor, 2 Entry Sensors, Home Alarm System, Control from The App, Links with eufyCam

eufy Security 5-Piece Home Alarm Kit, Home Security System, Keypad, Motion Sensor, 2 Entry Sensors, Home Alarm System, Control from The App, Links with eufyCam

(975)
$169.99
FREE delivery Wed, Aug 20
100+ bought in past month
Loading...
Birosnsy Digital Camera 4K 50MP with 32GB SD Card 2.88" IPS LCD Screen Auto Focus 16xDigital 9 Shooting Modes Zoom Entry Beginner 0.23LB HD Portable Mini Camera(Black, Batteries X2, Charging Head X1)

Birosnsy Digital Camera 4K 50MP with 32GB SD Card 2.88" IPS LCD Screen Auto Focus 16xDigital 9 Shooting Modes Zoom Entry Beginner 0.23LB HD Portable Mini Camera(Black, Batteries X2, Charging Head X1)

(109)
$42.99
PrimeFREE delivery Sat, Jun 14
Loading...
Hudson baby Unisex Baby Premium Quilted Long Sleeve Sleeping Bag and Wearable Blanket

Hudson baby Unisex Baby Premium Quilted Long Sleeve Sleeping Bag and Wearable Blanket

(685)
$45.23
FREE delivery Jun 12 - 13
Loading...
Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

(2)
$15.99$8.90
FREE delivery Sun, Aug 10 on your first order
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

(259)
$18.98$13.90
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

(0)
$68.46
FREE delivery Jun 25 - 30
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
Women Capris for Summer Trendy Loose Comfy Yoga Pants High Waisted Sweatpants Lightweight Cropped Hiking Golf Pants

Women Capris for Summer Trendy Loose Comfy Yoga Pants High Waisted Sweatpants Lightweight Cropped Hiking Golf Pants

(4)
$16.99
FREE delivery Jun 19 - Jul 3
Loading...
Capris for Women Wide Leg Elastic High Waist Yoga Pants with Pockets 2025 Summer Fashion Casual Crop Lounge Leggings

Capris for Women Wide Leg Elastic High Waist Yoga Pants with Pockets 2025 Summer Fashion Casual Crop Lounge Leggings

(0)
$14.99
FREE delivery Jun 17 - 25
Loading...
NEW YOUNG 3 Pack Capri Leggings for Women with Pockets-High Waisted Tummy Control Workout Gym Yoga Pants

NEW YOUNG 3 Pack Capri Leggings for Women with Pockets-High Waisted Tummy Control Workout Gym Yoga Pants

(401)
$37.99
PrimeFREE delivery Sat, Jun 14
50+ bought in past month
Loading...
Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

Figure 8 Fitness Resistance Band 3 Pcs, Elastic Rope Stretch Bands for Working Out, Foot, Leg, Arm, Back, Chest, Portable Home Office Training Exercise Stretcher for Yoga Pilates Physical Therapy

(2)
$15.99$8.90
FREE delivery Sun, Aug 10 on your first order
Loading...
ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

ALONG FIT High Waisted Tummy Control Leggings for Women Yoga Pants with Pockets Workout Squat Proof Tights

(12,044)
$54.38
FREE delivery Thu, Sep 4
Loading...
65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

65W USB-C/Type C Laptop Charger Power Supply Adapter for Lenovo Yoga Chromebook series,Thinkpad t480,Lenovo Yoga C930-13,Yoga S730-13,Yoga 920-13,Yoga 730-13,IdeaPad 730s-13,GX20P92530,ThinkPad X1 Carbon,with CA Power Cord

(259)
$18.98$13.90
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

JINTAI Replacement for Lenovo ideapad Yoga Slim 7-15IMH05 82AB Slim 7-15IMH05 82AE Yoga Creator 7-15IMH05 82DS 5C10S30099 DD0LS5AD021 DC in Power Jack Charger Charging Port Cable Conntor Harness

(0)
$68.46
FREE delivery Jun 25 - 30