SQL "difference between" interview questions (part 1)

SQL "difference between" interview questions (part 1)

Crack Concepts

4 года назад

604,714 Просмотров

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


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

@samirdeshmukh9886
@samirdeshmukh9886 - 18.11.2023 11:06

Very helpful.. thank you..✨

Ответить
@user-rr9lo4wc8g
@user-rr9lo4wc8g - 31.08.2023 09:43

Correct syntax for WHERE AND HAVING scenario is
SELECT MAX(sal) FROM emp WHERE emp_id > 100;

The query using the HAVING clause is not correct in this context.

WHERE Clause:

The WHERE clause is used to filter rows before they are grouped or aggregated.
It operates on individual row data and filters rows based on column values.
Example: SELECT * FROM orders WHERE order_date > '2023-01-01';

HAVING Clause:
The HAVING clause is used to filter the results of aggregate functions after they have been applied.
It is used in combination with the GROUP BY clause to filter the result set based on aggregate functions like SUM, AVG, MAX, MIN, etc.
It operates on groups of rows created by the GROUP BY clause.
Example: SELECT department, AVG(salary) FROM employees GROUP BY department HAVING AVG(salary) > 50000;

Ответить
@suyash7450
@suyash7450 - 10.07.2023 20:49

When to use IN and exists this I learned from your video

Ответить
@vijaypanchal7344
@vijaypanchal7344 - 12.06.2023 16:02

Nice tutorial and clear voice to understand.

Ответить
@buildtolearn
@buildtolearn - 26.04.2023 11:30

Love these videos. Great job!

Ответить
@Rohitkumar-vq1yk
@Rohitkumar-vq1yk - 18.03.2023 20:03

Thank you this has helped me a lot

Ответить
@aamirmansuri69
@aamirmansuri69 - 15.03.2023 04:04

Thankyou..!!

Ответить
@malhotrapawan9001
@malhotrapawan9001 - 02.02.2023 19:07

Great👍

Ответить
@devendrateluguchannel
@devendrateluguchannel - 01.12.2022 08:36

I want this one
A B C
1 2 3
4 5 6
7 8 9
I want maximum value? Please tell me

Ответить
@shreyasjadhav7323
@shreyasjadhav7323 - 25.11.2022 15:18

Thanks for this video ...

Ответить
@vijayarahavanrajagopal6885
@vijayarahavanrajagopal6885 - 06.11.2022 17:55

Aggregate function
It is used to multiple rows of single column

Ответить
@rathnamk508
@rathnamk508 - 15.10.2022 10:22

❤️❤️❤️ thank you❤️❤️❤️

Ответить
@kunalgandhe4551
@kunalgandhe4551 - 10.10.2022 10:29

I've been looking for something like this from a long time.I've not seen any video where SQL is explained in such a simple and easy way. Thanks a lot for this.

Ответить
@divyaalok5538
@divyaalok5538 - 17.09.2022 11:29

Thank you

Ответить
@poojatiwari6290
@poojatiwari6290 - 25.08.2022 08:26

Nice way of explaining 👍

Ответить
@bootexcel5122
@bootexcel5122 - 21.08.2022 16:49

Nice. You are explaining things clear. Like inner query and outer query.

Ответить
@SanjaySharma-rl3xu
@SanjaySharma-rl3xu - 20.07.2022 17:16

This is nice!

Ответить
@imatultyagi1498
@imatultyagi1498 - 06.07.2022 21:51

What is count of customers buying perticular product in Technology and Furniture category
-- in year 2011 and 2012.

Ответить
@CoolGuy
@CoolGuy - 29.06.2022 14:14

Though I am using SQL(DBA) for 3 years, never focused much on the difference between UNION and UNION ALL. Today I gave an interview for one of the Big4 and I couldn't answer the difference between UNION vs UNION ALL. Finally landed here to understand the diff.

Ответить
@DnD64
@DnD64 - 02.05.2022 10:52

I know you voted!

Ответить
@happyday878
@happyday878 - 23.04.2022 12:53

Simply explained, thank you :)

Ответить
@sutharshansrikumar3001
@sutharshansrikumar3001 - 23.04.2022 10:15

Very nice explanation

Ответить
@natraj__b
@natraj__b - 22.04.2022 06:35

Tq

Ответить
@unknowns9500
@unknowns9500 - 21.03.2022 17:59

we can use where instead of having , we use having when we place the group by clause

Ответить
@pravinlilhore2697
@pravinlilhore2697 - 14.03.2022 17:29

Thanks Sadia this video very helpful for us , can u make postman api interview questions like SQL interview videos

Ответить
@MukeshSharma-zz1lt
@MukeshSharma-zz1lt - 05.03.2022 18:34

thanku :)

Ответить
@raviindra3458
@raviindra3458 - 03.03.2022 17:02

Pls can you forward that Written book to my mail id..?

Ответить
@ganeshgani5095
@ganeshgani5095 - 20.02.2022 12:37

I think this video was done at election time. This video helped me now. Nyc1

Ответить
@mypets546
@mypets546 - 17.02.2022 06:19

we can use where clause in aggrigate function then what is nessary of having clause can u explaine me

Ответить
@sivareddyalavala4425
@sivareddyalavala4425 - 06.02.2022 12:44

Good explanation

Ответить
@anirudhharaje7192
@anirudhharaje7192 - 04.02.2022 09:28

Nice

Ответить
@saikrishnapoluboina2823
@saikrishnapoluboina2823 - 02.02.2022 18:26

Madam can u explain in plsql, index, view in asking interviews

Ответить
@nelikantinagaraj4866
@nelikantinagaraj4866 - 23.01.2022 10:56

Very very nice and simple methods with examples 😄😄😄 thank u for videos

Ответить
@tanushreenagar3116
@tanushreenagar3116 - 20.01.2022 13:23

Nice mam 👍 thanks 😊

Ответить
@gauravrawat5521
@gauravrawat5521 - 18.01.2022 17:05

Your notes are so well define easy to understand

Ответить
@rakeshgopidi4066
@rakeshgopidi4066 - 18.01.2022 12:54

It's a great post @Crack Concepts (Sadia) , no matter how many years of experience we have ,it's always a good revision for any one

# WHERE
can be used with SELECT,INSERT,UPDATE statement

# HAVING
can only be used with SELECT statement

Ответить
@letsdoit6438
@letsdoit6438 - 16.01.2022 10:11

Excellent explanation

Ответить
@kailastapase33
@kailastapase33 - 15.01.2022 17:44

Your really great

Ответить
@superblife7196
@superblife7196 - 09.01.2022 17:33

Put in tamil

Ответить
@adityas.6000
@adityas.6000 - 09.01.2022 08:26

Provide pdf notes

Ответить
@tariqzaman2077
@tariqzaman2077 - 05.01.2022 15:38

A good and knowledgeable video, thank you sister for sharing with us.

Ответить
@orangeservices6698
@orangeservices6698 - 04.01.2022 09:37

Hi warm greetings good morning

Thank you for sharing the valuable information. Could you please share some more complex queries to resolve If you can make some more thought queries which is well explained and easy to understand. I lost my last job I am in look out for a job

Ответить
@NikitaSharma-bs4gg
@NikitaSharma-bs4gg - 02.01.2022 11:16

Thanks - was so helpful

Ответить
@ashutoshgaur8105
@ashutoshgaur8105 - 28.12.2021 18:59

very nice voice, explained in good way

Ответить
@jvinaykumar3274
@jvinaykumar3274 - 22.12.2021 20:18

Awesome voice and good explanation 😍

Ответить
@amanbhargava2702
@amanbhargava2702 - 18.12.2021 13:43

Thank you sadia

Ответить
@prashantp9029
@prashantp9029 - 15.12.2021 22:29

Good job mam👍👍
Please upload more videos regarding plsql with examples as many as u can .
Your explanation is tremendous ...

Ответить
@yasmeenhasan9925
@yasmeenhasan9925 - 07.12.2021 21:39

Thanks for the making videos! Its very very helpful

Ответить