Nested Queries | SQL | Tutorial 18

Nested Queries | SQL | Tutorial 18

Giraffe Academy

6 лет назад

170,585 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@giving1106
@giving1106 - 08.01.2024 02:42

Very good breakdown, thank you!

Ответить
@jbizzy4829
@jbizzy4829 - 23.10.2023 23:37

This was so helpful! Thanks

Ответить
@davidsmith6028
@davidsmith6028 - 16.10.2023 18:37

Awesome video, thanks so much

Ответить
@sriramch5157
@sriramch5157 - 24.09.2023 05:08

We can use inner join

Ответить
@mahinhossen4251
@mahinhossen4251 - 31.05.2023 13:06

for second query, we could also use

SELECT client.client_id, client.client_name
FROM client
WHERE branch_id IN (
SELECT employee.branch_id FROM employee
WHERE employee.emp_id = 102
);

Ответить
@sugaslate14
@sugaslate14 - 02.05.2023 23:03

Can you do this if your trying to pull from separate dbos? Or do I have to create a view with the info from each dbo I need?

Ответить
@Helloimtheshiieet
@Helloimtheshiieet - 05.04.2023 18:39

nobody uses where subqueries just write a nested left join lazy people maybe

Ответить
@SRISAILAPUBRAHMAJIBCE
@SRISAILAPUBRAHMAJIBCE - 02.04.2023 22:54

nice explanation 😇 sir

Ответить
@queryhsje7514
@queryhsje7514 - 24.03.2023 05:45

Hi, thanks for the video! Sorry I don't get it why in the first example you were using 'IN', while in the 2nd example you were using '='? Can you explain a little detail, please? Thanks.

Ответить
@rokunuzjahanrudro7571
@rokunuzjahanrudro7571 - 15.03.2023 06:10

Great explanation!!!

Ответить
@thecritico
@thecritico - 04.02.2023 01:43

Subscribed!!! Great videos with C and now SQL.

Ответить
@Merl-qi7ru
@Merl-qi7ru - 18.01.2023 15:20

why not just use join?

Ответить
@mmm-bj8zg
@mmm-bj8zg - 28.12.2022 21:50

Taught me something my teacher couldn't, appreciate it

Ответить
@Enkumnu
@Enkumnu - 16.12.2022 18:13

Thank you. Help a lot

Ответить
@svens3722
@svens3722 - 02.11.2022 21:12

i need this with calculated columns. any suggestions?

Ответить
@balrajvirdee1087
@balrajvirdee1087 - 21.10.2022 23:28

Great video 👍🏽

Ответить
@mashawickramasinghe195
@mashawickramasinghe195 - 11.10.2022 04:19

Great video!!!👏

Ответить
@tejdeepak8092
@tejdeepak8092 - 07.10.2022 01:10

hey mike, thanks for explaining the complex topic in SQL nested query!

Ответить
@beizhou1614
@beizhou1614 - 21.09.2022 18:20

Thank you! Your explanation is so clear!

Ответить
@gotchihaeyo1825
@gotchihaeyo1825 - 19.09.2022 03:54

These can be done by using JOIN.

Ответить
@leeeric6292
@leeeric6292 - 11.06.2022 20:45

To make it simple, why don't use "in" in all cases?

Ответить
@SunshineFromWithin
@SunshineFromWithin - 04.06.2022 18:22

Fantastic videos, all of them. Thank you for doing this.

Ответить
@lebzgold7475
@lebzgold7475 - 30.05.2022 12:21

Thanks for simplifying the logic behind this!

Ответить
@TheMinaProject
@TheMinaProject - 29.05.2022 17:02

THANK YOU! BEST tutorial out there! Had no idea what was going on it class for the past 40 minutes and you sorted it in 10 😂

Ответить
@azddinebouarbi4948
@azddinebouarbi4948 - 24.05.2022 18:38

bravo

Ответить
@parmarrutik7845
@parmarrutik7845 - 11.05.2022 15:19

nice video i want this types of more scenerio base questions solutions

Ответить
@popoporiBN
@popoporiBN - 29.04.2022 10:50

believe it or not our database design lecturer did not use practical example like this and just read of what syntaxes does from textbook. holy i just understood it in a minute!

Ответить
@eishaamir5601
@eishaamir5601 - 21.04.2022 17:00

Love how you used people from the Office!!!

Ответить
@jeremywj
@jeremywj - 12.04.2022 00:34

left join ftw

Ответить
@ChicaSonidera
@ChicaSonidera - 09.04.2022 20:23

Great content, thanks.

Ответить
@isisdominguez4776
@isisdominguez4776 - 06.04.2022 23:04

OMG, I was struggling with Nested subqueries, but now I certainly have a better insight about it. Thank you so much and the person who shared your video in a forum.

Ответить
@juanfernandomoyanoramirez600
@juanfernandomoyanoramirez600 - 02.04.2022 22:57

I come here from the google data analytics professional certificate and this video allowed me to understand this new concept. Thank you very much.

Ответить
@alex-sd
@alex-sd - 23.03.2022 03:53

Awesome explanation for nested or subqueries. Thanks so much!

Ответить
@EzeChiappero
@EzeChiappero - 19.03.2022 18:31

Just 30 minutes ago, I upload a doubt. With the help of a mate, I got the answer right the way, great community!

Ответить
@EzeChiappero
@EzeChiappero - 19.03.2022 17:57

I don't understand fully the direfence between 'IN' statement and '=' command

Ответить
@shreyansraghu6709
@shreyansraghu6709 - 18.03.2022 17:04

Hi, I liked working on the data camp, are there any websites with a lot of tables and questions to solve more problems and practice?

Ответить
@shahzainahmed6851
@shahzainahmed6851 - 10.03.2022 05:05

u are so good tbh , very clear

Ответить
@ahmadhusayn539
@ahmadhusayn539 - 08.03.2022 00:59

this is the code i came up with for the second question, can anyone tell me if it is correct

select works_with.emp_id
from works_with
where works_with.emp_id in
(
select client.client_name
from client
where client.branch_id = 2
);

Ответить
@mrinalmishra1437
@mrinalmishra1437 - 01.03.2022 10:29

Just wow ❤🙏🙏🙌

Ответить
@mohammadmayar5544
@mohammadmayar5544 - 25.02.2022 20:15

Can you make video of if condition and while loop as well please

Ответить
@mr.goldenball333
@mr.goldenball333 - 05.02.2022 08:25

Thank you. It really helps!

Ответить
@akj3388
@akj3388 - 18.01.2022 13:07

In the very first subquery example, how would you display the client id as well along with employee's first and last name? I am happy if it repeats the name.

Ответить
@danielhermawan4054
@danielhermawan4054 - 10.11.2021 17:25

I'm still confused about the difference between the 'IN' and the '=' , any explanations? thanks in advance. Great video!

Ответить
@rootcause5322
@rootcause5322 - 20.10.2021 10:37

This was lit 🔥 Thank u bruh...

Ответить
@WHBable
@WHBable - 27.08.2021 11:38

my profs couldn't even explain this as clear and you, and i paid her for the class.........

Ответить
@subhamkumar9064
@subhamkumar9064 - 13.08.2021 22:20

my approach:
SELECT client.client_name
FROM client
WHERE client.branch_id=(
SELECT employee.branch_id
FROM employee
WHERE first_name='Michael'
);

Ответить
@Siddharth-uo6zw
@Siddharth-uo6zw - 06.08.2021 19:16

Thank u so much!
can you make more advanced paid courses in SQL, Back end Developer with economical for students.
you teach so well.

Ответить
@Shiyounin
@Shiyounin - 18.07.2021 05:02

Thanks, Dane, you're Great.

Ответить
@sonamuhialdeen7866
@sonamuhialdeen7866 - 19.06.2021 18:37

Amazing tutorial

Ответить