No video

SQL - Part 60 - Sub Query (Single Row Sub Query explained by solving different problems)

  Рет қаралды 18,655

QAFox

QAFox

Күн бұрын

View Notes Here - www.evernote.co...
In this video, I have explained and practically demonstrated using the Sub Query (Single Row Sub Query) in SQL statements for solving complex problems.

Пікірлер: 24
@vimala7830
@vimala7830 2 жыл бұрын
Clear explanation sir thanks a lot ☺️☺️☺️
@QAFox
@QAFox 2 жыл бұрын
Welcome :)
@sudipsen3677
@sudipsen3677 Жыл бұрын
Bro use this sub query to find nth max Price (n-1)...........select * from Products p1 where 1=(select count(distinct Price) from Products p2 where p2.Price>p1.Price );
@abhiram6578
@abhiram6578 5 ай бұрын
can we write the query like this for finding the third maximum price of the products. select price from the products order by price desc llmit 2,1;
@gantaavinash169
@gantaavinash169 2 жыл бұрын
Thanks a lot sir for your tutorials, if possible please do on nodejs
@QAFox
@QAFox 2 жыл бұрын
Sure Avinash :)
@informationadda758
@informationadda758 Жыл бұрын
ossum explanation dude
@QAFox
@QAFox Жыл бұрын
Thank you :)
@mathiassintal2237
@mathiassintal2237 2 жыл бұрын
select price from products order by price desc limit 1,1 would also result with the second highest price, right? Thank you very much for your tutorials!
@purushotamsharma3710
@purushotamsharma3710 2 жыл бұрын
sir, i really enjoyed your video. a request to you sir, can you please upload a single note for or video
@campeiangomes4298
@campeiangomes4298 Жыл бұрын
great job
@QAFox
@QAFox Жыл бұрын
Thank you :)
@anjalinayak1001
@anjalinayak1001 2 жыл бұрын
Thank you sir
@rahulk3209
@rahulk3209 2 жыл бұрын
Sir I think you forgot to upload about normalization topic
@QAFox
@QAFox 2 жыл бұрын
Those topics will be covered later. I am working on other things now.
@filmflasheshq
@filmflasheshq 2 жыл бұрын
Sir we can also use LIMIT to retrieve 2nd, 3rd, etc max data
@filmflasheshq
@filmflasheshq 2 жыл бұрын
SELECT price AS 2nd_max_price FROM products ORDER BY price DESC LIMIT 1 , 1 ;
@QAFox
@QAFox 2 жыл бұрын
Yeah another way to get the results.
@dushyant.june6
@dushyant.june6 3 жыл бұрын
Sir what source are you using for these practice questions? Kindly provide me with the link please!!
@QAFox
@QAFox 3 жыл бұрын
Go to that particular topic in W3SCHOOLS website and try.
@rayberlin8005
@rayberlin8005 3 жыл бұрын
Sir, notes missing here.
@QAFox
@QAFox 3 жыл бұрын
Thanks for letting me know. I have updated the description and provided the notes now.
@farihaaskar6053
@farihaaskar6053 Жыл бұрын
can you be my sql tutor, ill pay u
@QAFox
@QAFox Жыл бұрын
Sorry, not getting time.
SQL - Part 61 - In Operator
8:41
QAFox
Рет қаралды 11 М.
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 35 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 45 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 34 МЛН
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 40 МЛН
How to do Subqueries in SQL with Examples
8:20
Becoming a Data Scientist
Рет қаралды 167 М.
SQL - Part 79 - Case, When, Then and End Keywords
22:38
QAFox
Рет қаралды 12 М.
SQL - Part 63 - Using Any Operator in Multi Row Sub Query
13:19
When to Use a Subquery in SQL
8:50
Database Star
Рет қаралды 32 М.
SQL - Part 82 - Views
39:48
QAFox
Рет қаралды 12 М.
SQL - Part 71- Primary Key Integrity Constraint
16:46
QAFox
Рет қаралды 10 М.
SQL - Part 81 - Delimiter usage in Stored Procedures
15:09
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 35 МЛН