SQL "difference between" interview questions (part 1)

  Рет қаралды 635,056

Crack Concepts

Crack Concepts

Күн бұрын

Пікірлер: 272
@crackconcepts
@crackconcepts 3 жыл бұрын
Hi, please watch the below linked video to understand the difference between WHERE and HAVING even better. kzbin.info/www/bejne/nZiliZiceZmIipo ✨Link to my SQL e-book: imojo.in/rkajq9 ✨Link to 'Switch your career easily' e-book: imojo.in/1FL7KaG (Perfect for anyone willing to switch to a completely new field or to a different company in the Tech World)
@bhuvananithu1466
@bhuvananithu1466 3 жыл бұрын
. mn
@ramireddygopalreddy4316
@ramireddygopalreddy4316 3 жыл бұрын
how to contact u mam
@afuhcyrilcheuck5032
@afuhcyrilcheuck5032 2 жыл бұрын
I need help , the other video you made explaining how you to find the second highest salary with MAX . It was Select MAX(salary) from employee Where salary < ( select Max (Salary) from employee ). Thats using an aggregated function with "where "which you just said otherwise
@balanagadurgasrilakshmi8562
@balanagadurgasrilakshmi8562 2 жыл бұрын
Hii I want to Take course from you how can I contact you pls
@sumityerme3811
@sumityerme3811 2 жыл бұрын
Thanku mam
@nagoredeen
@nagoredeen 3 жыл бұрын
You can still use WHERE clause aggregated functions. Select max(column) from table where Meaning: select max out of a column value from a table with a filtered records based on a condition.
@ruturajjadhav8905
@ruturajjadhav8905 3 жыл бұрын
Yes. And we can't use having without group by
@nishiagarwal9869
@nishiagarwal9869 3 жыл бұрын
Yes
@rameshmalhotra9525
@rameshmalhotra9525 3 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs🙏🏻🙏🏻
@chilly2171
@chilly2171 3 жыл бұрын
This KZbinr has no idea what she is talking about man....
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/pmHKfWSmds16kKc
@madhurpalsokar7790
@madhurpalsokar7790 4 жыл бұрын
Best thing about your videos is You take very less time to cover many things and yet explaining it so beautifully.. Thanks for spreading the knowledge.. 👍🏻
@chandrassqlbi4343
@chandrassqlbi4343 4 жыл бұрын
Great job sis.. kudos!! Small correction @ 3:33 ---- 'Where' can be used while aggregating rows (Where and Group by works) 'Where' will filter at Row level 'Having' will filter at 'Group by' level No intention of pointing out mistakes here.. your channel is gaining popularity, and many are learning from this channel, great job!!. On the same lines - my two cents .. if that helps your viewers!! Oh, I haven't seen before - couple of others also mentioned about this correction.. great!! Good job!! (wouldn't have posted this if i have seen that earlier) Good job everyone!! Happy learning!!
@crackconcepts
@crackconcepts 4 жыл бұрын
Thank you 😊
@antonyjayaraj95
@antonyjayaraj95 3 жыл бұрын
I really like the way you explained and it is useful for me...
@praveengupta2369
@praveengupta2369 3 жыл бұрын
Sir I need to add few more points and let me know if I am wrong. If where clause is being used after the 'group by' statement this wouldn't work out. If we want SQL to use group by with where, 'where clause' should be used before Group by statement which actually filters the data from reference table first then grouping the data. Since, we are not using any aggregate function to group our data hence this group by also acts like order by. Disagree if I am wrong
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/pmHKfWSmds16kKc
@vaishalidharmik2038
@vaishalidharmik2038 Жыл бұрын
Thanks for this. I could have got wrong understanding now about using HAVING clause.
@kunalgandhe4551
@kunalgandhe4551 2 жыл бұрын
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.
@anvi015
@anvi015 11 ай бұрын
Amazing video series on SQL. Honestly this has been my ONLY goto channel whenever I feel I need to brush up my SQL coding skills.
@radhemohannaamhai
@radhemohannaamhai 3 жыл бұрын
The way she says sorry sorry ❤️.. great tutorial ..am following every video.. simple and to the point ..
@charlesmathews6184
@charlesmathews6184 3 жыл бұрын
I gained confidence from your teaching. Kudos
@suhailahamed7514
@suhailahamed7514 3 жыл бұрын
Thank you, sister, the way you teach is wonderful, stay blessed and happy forever. as a beginner, I admire your effort.
@nishanthgaddam8426
@nishanthgaddam8426 4 жыл бұрын
We can use where clause and having too because we can filter non aggregated value and having count(emp_id)>=1 . Instead of using having emp_id>105 u shld have use where emp_id>105
@crackconcepts
@crackconcepts 4 жыл бұрын
Correct. Made a mistake there. Thanks for correcting! :)
@nishanthgaddam8426
@nishanthgaddam8426 4 жыл бұрын
@@crackconcepts No worries and thank you for educating us 😀😊
@dipakk123
@dipakk123 3 жыл бұрын
I am thankful that such a clear and knowledgeful information shared for all May God bless you for the helping and sharing thank you
@deepakpandey9406
@deepakpandey9406 3 жыл бұрын
1. Aggregate 2. Duplicate 3. Scan and Boolean evaluation 4. Position 5. Performance 6. Columns and Rows
@RKBKamii
@RKBKamii 26 күн бұрын
great tutorial ..am following every video.. simple and to the point ..
@narenderuggera1972
@narenderuggera1972 3 жыл бұрын
I became fan of your voice nd thanks for the most common interview question explained in great manner👍👍👍🙏
@manikandan-hz8yd
@manikandan-hz8yd 3 жыл бұрын
🤣🤣🤣🤣🤤🤤
@Bdlover-24
@Bdlover-24 2 жыл бұрын
Men is always men
@leisuretime8023
@leisuretime8023 2 жыл бұрын
(meanwhile in the background I heard) Pyar ki raah mein chalnaa seekh....
@Mohammed-up8lg
@Mohammed-up8lg 2 жыл бұрын
Creep spotted 😂😂😂
@narenderuggera1972
@narenderuggera1972 2 жыл бұрын
@@Bdlover-24 🙏
@sohailkat8867
@sohailkat8867 4 жыл бұрын
I have started watching your videos recently, believe me you are amazing the way explained just nailed it.Impressive work keep it up last but not least thank you.
@crackconcepts
@crackconcepts 4 жыл бұрын
Thank you so much!!
@shreyjainhere
@shreyjainhere 3 жыл бұрын
Your voice is really sweet Mam.. A very good and simple way of explaining 👍
@AMITVISHWAKARMA-dy2wi
@AMITVISHWAKARMA-dy2wi 4 жыл бұрын
When we use max() function still we can use the where clause it works.
@kmrajesh1686
@kmrajesh1686 3 жыл бұрын
Yes
@sourabhgupta9095
@sourabhgupta9095 3 жыл бұрын
Yes but it should be before having clause
@vinnu.gamer.2096
@vinnu.gamer.2096 3 жыл бұрын
Yes even I wondered when she said that .. I do it daily...
@vivekpuri-08
@vivekpuri-08 3 жыл бұрын
What she said is exactly what I found on w3schools.
@little_prince_official
@little_prince_official 2 жыл бұрын
We can use it on to find maximum values in the database
@anilb5557
@anilb5557 3 жыл бұрын
thank u mam such simple explaination about union i never understand my whole enginnering .....keep provide us such .. this type of information... thank u so mmuch ......🤗🤗🤗🤗🤗🤗🤗
@vminkook_lover782
@vminkook_lover782 4 жыл бұрын
Whatt a Amazing voice !!!😍😍🥰♥️ & Explanation is also good 💜
@sartz444
@sartz444 3 жыл бұрын
Hi, The best thing is that All of your videos are clearly explained in a short period of Time and it covers many things. I Really appreciate ur effort and please keep on continuing it🙏🙏 Thanks you so much
@adityaraizada7614
@adityaraizada7614 3 жыл бұрын
Great job But one small correction at 3:57 where can be used also with group by but before group by statement and having can be used on aggregate function as you said Like: SELECT MAX(Sal) FROM Employee GROUP BY EmpId HAVING MAX(Sal) > 1000;
@muhammadfawadakhtar2281
@muhammadfawadakhtar2281 2 жыл бұрын
Speak more loudly 🙃🙃
@gganesh-l6y
@gganesh-l6y 2 жыл бұрын
I think this video was done at election time. This video helped me now. Nyc1
@JinkaJayakrishna
@JinkaJayakrishna 8 ай бұрын
Mam the way of explanation is super thanks for given valuable classes
@bootexcel5122
@bootexcel5122 2 жыл бұрын
Nice. You are explaining things clear. Like inner query and outer query.
@chaithanyagosangi8950
@chaithanyagosangi8950 3 жыл бұрын
mam, please note the correction that, where can be used in your explanation for id, having is only used for aggregated filters.
@rohanmali6583
@rohanmali6583 4 жыл бұрын
This and the second part is sooooo Awesome. You Rock. Blessings from United States. :)
@RahulGupta-fk4cz
@RahulGupta-fk4cz 10 ай бұрын
Mam your voice is so sweet and the way of your teaching is also good
@vijayarahavanrajagopal6885
@vijayarahavanrajagopal6885 2 жыл бұрын
Aggregate function It is used to multiple rows of single column
@anunutan9220
@anunutan9220 3 жыл бұрын
Ur way of explaining concepts is simple and cool to understand soon.... Tq for sharing videos..
@archanapbhat5232
@archanapbhat5232 3 жыл бұрын
Thank you..Concepts clearly explained in short time..GOD bless you
@anujlovetube
@anujlovetube 3 жыл бұрын
Best sql channel ...thanks mam for this series and all effort u have put in
@tekieogubagabir43
@tekieogubagabir43 4 жыл бұрын
clear, simple and easy way of explanation , Thank you !
@gauravnegi4312
@gauravnegi4312 3 жыл бұрын
THANK YOU SO MUCH!!!! Cleared all the doubts in a single go!
@vS-mn9id
@vS-mn9id 3 жыл бұрын
God bless... very straight to the point... Perfect... Kudos to your work
@vijaypanchal7344
@vijaypanchal7344 Жыл бұрын
Nice tutorial and clear voice to understand.
@331sairam
@331sairam 3 жыл бұрын
Straight concept clear voice ....cool
@vijayg1627
@vijayg1627 6 ай бұрын
We can get the aggregate by using where as well
@nelikantinagaraj4866
@nelikantinagaraj4866 2 жыл бұрын
Very very nice and simple methods with examples 😄😄😄 thank u for videos
@anishahamad5034
@anishahamad5034 25 күн бұрын
keep it up..... nyc explanation
@SameerShaikh-ty5zt
@SameerShaikh-ty5zt 3 жыл бұрын
Thank you.. Your way of explaining is sweet.
@abhishekpandey4660
@abhishekpandey4660 5 жыл бұрын
Short,simple and clear explanation.. Really liked it so much:)
@crackconcepts
@crackconcepts 5 жыл бұрын
Thank you so much!
@gospelmoto2833
@gospelmoto2833 2 ай бұрын
You got a new sub. Thanks for your informative video.
@tariqzaman2077
@tariqzaman2077 3 жыл бұрын
A good and knowledgeable video, thank you sister for sharing with us.
@unknowns9500
@unknowns9500 2 жыл бұрын
we can use where instead of having , we use having when we place the group by clause
@SanjaySharma-rl3xu
@SanjaySharma-rl3xu 2 жыл бұрын
This is nice!
@SanjaySharma-rl3xu
@SanjaySharma-rl3xu 2 жыл бұрын
We can use where when using group by also.
@Jooockerx
@Jooockerx 3 жыл бұрын
Nice and clear explanation, thank you very much from south yemen.
@yokeshviswanathan1220
@yokeshviswanathan1220 3 жыл бұрын
amazing what a voice and you are explanation also awesome keep going
@SureshKumar-ug4ep
@SureshKumar-ug4ep 3 жыл бұрын
Very nicely explained! and your voice is soooo sweet! Keep it up👍
@mukulverma9966
@mukulverma9966 3 жыл бұрын
You are explaining so good and your voice also amazing Great work mam
@bhushandatey5792
@bhushandatey5792 3 жыл бұрын
very well explained . I watched just one video & subscribed .
@varunwadekar7
@varunwadekar7 10 ай бұрын
very helpful for the interview preparation
@suhailsavo9291
@suhailsavo9291 5 ай бұрын
Execution order of clauses--- 1.From 2.Where 3.Group By 4.Having 5.Order by 6.Select.
@gauravrawat5521
@gauravrawat5521 2 жыл бұрын
Your notes are so well define easy to understand
@yasmeenhasan9925
@yasmeenhasan9925 3 жыл бұрын
Thanks for the making videos! Its very very helpful
@jvinaykumar3274
@jvinaykumar3274 3 жыл бұрын
Awesome voice and good explanation 😍
@avtarchandra2407
@avtarchandra2407 4 жыл бұрын
That multiippllee rows❣️2:10
@bitraptor
@bitraptor 3 жыл бұрын
2:04
@poojatiwari6290
@poojatiwari6290 2 жыл бұрын
Nice way of explaining 👍
@buildtolearn
@buildtolearn Жыл бұрын
Love these videos. Great job!
@ashutoshgaur8105
@ashutoshgaur8105 3 жыл бұрын
very nice voice, explained in good way
@ajajjamadar
@ajajjamadar 3 жыл бұрын
Great job sister . Best tutorials I have ever seen . Keep it up
@Корица-ф7ц
@Корица-ф7ц 3 жыл бұрын
Great explanation, thank you, dear
@virendrabhati6685
@virendrabhati6685 3 жыл бұрын
It was a great video of explaining such a complicated concepts 👍.
@Rohitkumar-vq1yk
@Rohitkumar-vq1yk Жыл бұрын
Thank you this has helped me a lot
@Faisal1504
@Faisal1504 3 жыл бұрын
Thanks for sharing very well explained
@Deepthimoon
@Deepthimoon 4 жыл бұрын
To the point , helped me. Thank you 😀
@CichyObserwator123
@CichyObserwator123 2 жыл бұрын
Simply explained, thank you :)
@prashantp9029
@prashantp9029 3 жыл бұрын
Good job mam👍👍 Please upload more videos regarding plsql with examples as many as u can . Your explanation is tremendous ...
@vivamedia5958
@vivamedia5958 4 жыл бұрын
Great tutorials. Thank You very much. looking forward for more videos from you.
@gauravghosh8002
@gauravghosh8002 3 жыл бұрын
Thank you so much Ma'am for your detailed information. This helped me to brushed up
@samirdeshmukh9886
@samirdeshmukh9886 Жыл бұрын
Very helpful.. thank you..✨
@madrasboykumaran
@madrasboykumaran 3 жыл бұрын
Proper explanation with great presentation 😊
@ajinkya820
@ajinkya820 3 жыл бұрын
You have a wonderful soft voice ..
@CoolGuy
@CoolGuy 2 жыл бұрын
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.
@trevorb9800
@trevorb9800 2 жыл бұрын
...... hopefully you don't use it because that's a massive difference LOL. You would ruin a dataset not using Union all. Union all is used 99.9% of the time. There would be no point to be removing duplicate rows.
@enlightenmentofsoul9650
@enlightenmentofsoul9650 2 жыл бұрын
I think u just time pass if u don't know the difference sorry but it's true
@vipin2872
@vipin2872 3 жыл бұрын
Nicely explained. Mam
@srilakshmishetty-g2t
@srilakshmishetty-g2t 5 ай бұрын
Please explain the difference between partition by and group by
@charanrajuc1285
@charanrajuc1285 8 күн бұрын
Nice one❤
@NikitaSharma-bs4gg
@NikitaSharma-bs4gg 3 жыл бұрын
Thanks - was so helpful
@letsdoit6438
@letsdoit6438 3 жыл бұрын
Excellent explanation
@tanushreenagar3116
@tanushreenagar3116 2 жыл бұрын
Nice mam 👍 thanks 😊
@shreyas_jay
@shreyas_jay 2 жыл бұрын
Thanks for this video ...
@rakeshgopidi4066
@rakeshgopidi4066 2 жыл бұрын
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
@shahzan525
@shahzan525 4 жыл бұрын
Most usefull ..... Great work 👍
@ramanv3744
@ramanv3744 5 жыл бұрын
Highly appreciate your work. Thanks
@prajaktashah7011
@prajaktashah7011 4 жыл бұрын
@@Rajahmundry-timepass I ran all queries and they are working fine. If you can't run simple queries, stop blaming the teacher. You piece of shit. Stop spreading negativity for her. She is doing a great job. But stupid people like you can't understand anything.
@netwkeng7101
@netwkeng7101 3 жыл бұрын
You are doing great job sister with husky voice
@danyos777
@danyos777 3 жыл бұрын
I like the way you explain; your voice is clear and explanations are concise. I would have like to see a query written per each example/case to illustrate each use per clause. First time on your channel and looking forward to more of your SQL videos. BTY, I’m new to SQL, hoping to learn it fast, mastering this skill type of structure language.
@suyash7450
@suyash7450 Жыл бұрын
When to use IN and exists this I learned from your video
@honestcomments8053
@honestcomments8053 3 жыл бұрын
Excellent video!
@hadireg
@hadireg 3 жыл бұрын
Having is the only solution giving you the option to filter on the results of the aggregate function. Where can still be used on the other fields of the dataset before the aggregate functions are processed.
@PrashantKumar-gc2pg
@PrashantKumar-gc2pg 3 жыл бұрын
SELECT count(country) from customers where customerid>5; it is working
@jf1341
@jf1341 3 жыл бұрын
Very well presented 🙏 👌👌👏👏
@malhotrapawan9001
@malhotrapawan9001 Жыл бұрын
Great👍
@bollywoodupdates1706
@bollywoodupdates1706 3 жыл бұрын
Thank you for the video!
@prakashvish3988
@prakashvish3988 3 жыл бұрын
Very mild n cute voice ❤️
@harshsugandhi07
@harshsugandhi07 3 жыл бұрын
Nicely explained 🔥
@sivareddyalavala4425
@sivareddyalavala4425 2 жыл бұрын
Good explanation
@iiampra
@iiampra 4 жыл бұрын
what a voice WOW
@manikantatatvamasi7804
@manikantatatvamasi7804 3 жыл бұрын
NIcely explained, Thank you
@AjjubhaiGodL
@AjjubhaiGodL 3 жыл бұрын
Good one.
@zaidzeee
@zaidzeee 3 жыл бұрын
Amazing work keep it up
@Lalit_Sharma_20
@Lalit_Sharma_20 3 жыл бұрын
soothing voice and excellent explanation !! too good. Can we get these notes ?
How to find second highest salary in SQL
4:10
Crack Concepts
Рет қаралды 339 М.
SQL "difference between" interview questions (part 2)
7:15
Crack Concepts
Рет қаралды 224 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
If You Know These 15 Words, Your English is EXCELLENT!
7:39
Brian Wiles
Рет қаралды 8 МЛН
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 253 М.
Вся база SQL для начинающих за 1 час
1:19:48
Vlad Mishustin
Рет қаралды 356 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН