Writing CASE WHEN Statements in SQL (IF/THEN)

  Рет қаралды 92,598

Becoming a Data Scientist

Becoming a Data Scientist

Күн бұрын

Пікірлер
@sarahemslie6105
@sarahemslie6105 4 жыл бұрын
An afternoon binge-watching your SQL videos is time well spent! Thank you for taking the time to make them. Subscribed.
@becomingADS
@becomingADS 4 жыл бұрын
That's awesome Sarah!! So happy to have helped ya out!
@ukaszk.8305
@ukaszk.8305 4 жыл бұрын
I'm using your videos as quick (yet pretty comprehensive!) introductions to the topics you cover. For that, you go at a perfect pace and level of detail for me. And you are always to the point, with no excessive intros. Simplicity is great! The overall quality is also pretty good. Thanks a lot for all your work and enthusiasm. Please keep going! :)
@goldr7198
@goldr7198 3 ай бұрын
Woah, thanks dude! This is way easier to digest than a couple of courses I just read. I don't even understand why they sometimes overcomplicate the examples just to show how advanced and smart the people who understand this topic are.
@griffinwillig4329
@griffinwillig4329 Жыл бұрын
Dude, you are legit the best. I have watched so many Coursera's and taken so many classes, and you by-far explain everything THE BEST. Keep on rocking.
@ANUJYADAV-dj1iq
@ANUJYADAV-dj1iq 4 жыл бұрын
i have gone through many videos on youtube but I find my solution here at the end. thanks for making this video.
@showutheworld
@showutheworld 4 жыл бұрын
Your videos are awesome!!! I'm currently taking a course and your second explanation is exactly what I need to understand the concepts better! Thank you! Please continue :) Already subscribed.
@stevencarv-buc3163
@stevencarv-buc3163 3 жыл бұрын
*Y repentinamente un comentario en español* xD Es justo lo que estaba buscando, te agradezco. Este canal es extremadamente útil. ¡un saludo Nathan!
@deadbrain1861
@deadbrain1861 3 жыл бұрын
Thank u I watched all sql playlist u r the best
@max1qin927
@max1qin927 4 жыл бұрын
Hi Nathan, your videos are amazing. I watched all about sql and helped me a lot. I find you stop uploading new videos. Could you please do your video again. I am sure they help a lot of people on the planet of Earth.
@sailoben
@sailoben 2 жыл бұрын
I have been engaged to Udemy couse on MS SQL server, but some explainations are hard to understand. Whenever I have doubt This is where I go to. Keep making videos please. Thanks
@vaidehishah8867
@vaidehishah8867 Жыл бұрын
These videos were really helpful! Thanks a ton!
@MichaelFlenderson
@MichaelFlenderson 3 жыл бұрын
Thank you! You’re a good teacher 🙏🏻
@andrewkorneychuk586
@andrewkorneychuk586 3 жыл бұрын
Just want to say thank u for this great mysql tutorials
@embisonjones4996
@embisonjones4996 2 жыл бұрын
That you Nathan. You’ve earned a new subscriber
@anne7983
@anne7983 2 жыл бұрын
Just the tutorial I need. Thank you so much!🤩
@krystianeotis6479
@krystianeotis6479 3 жыл бұрын
Your videos have been so helpful. Thank you!!!
@serenereader
@serenereader 2 жыл бұрын
You are an excellent teacher. Thank you!
@Yarunooo
@Yarunooo 3 жыл бұрын
SELECT UnitsOnOrder, CASE WHEN UnitsOnOrder > UnitsInStock THEN 'a' else 'test' End as BestellingenStock FROM Orders; 01:46:40 SELECT UnitsOnOrder, CASE WHEN UnitsOnOrder > UnitsInStock THEN 'a' else 'test' End as BestellingenStock FROM Orders LIMIT 0, 2000 Error Code: 1054. Unknown column 'UnitsOnOrder' in 'field list' 0.016 sec
@Hannah-iv6rm
@Hannah-iv6rm 5 ай бұрын
this is more helpful than my teacher's exp
@timothyhallbeck9853
@timothyhallbeck9853 2 жыл бұрын
Good intro into Case, thanks.
@valentinacoy7757
@valentinacoy7757 3 жыл бұрын
Your videos are amazing, thank you so much!!!
@mazinmohammed6624
@mazinmohammed6624 4 жыл бұрын
please continue with the database videos, if you could do some on T-SQL and SSM it'd be great!
@higiniofuentes2551
@higiniofuentes2551 2 жыл бұрын
Thank you for this very useful video!
@LucHayman
@LucHayman 3 жыл бұрын
Awesome thank you! Is it possible to add multiple case statements in one query? How would I do that?
@anthonynorman1212
@anthonynorman1212 2 жыл бұрын
Your Video was perfect! Thank You
@kanknw
@kanknw 4 жыл бұрын
Can you make video about solving complex sql problem
@mishraadityaanandeavmjejdt265
@mishraadityaanandeavmjejdt265 3 жыл бұрын
Thank you so much for such a great content . It really helped me a lot.
@butchdavis2062
@butchdavis2062 3 жыл бұрын
Subscribed big time, thank you brother
@dawitworku821
@dawitworku821 8 ай бұрын
It's very helpful! Thank you.
@manavsaxena5579
@manavsaxena5579 3 жыл бұрын
Hey man, awesome tutorials. Is there anything coming on Window Functions?
@wiktor18071
@wiktor18071 4 жыл бұрын
Supporting the excellent wrk:)
@becomingADS
@becomingADS 4 жыл бұрын
You're the best!
@12245Fred
@12245Fred 4 жыл бұрын
Amazing explanation, thank you this helped a lot
@96aditishah
@96aditishah 2 жыл бұрын
Great explanation! Thanks
@xesiusprime9360
@xesiusprime9360 3 жыл бұрын
right on man thanks very helpful and informative supplementation of my education when i dont understand them in how they describe it btw im wondering, I am almost done my SQL and i heard that i could find a foot in the door kind of job with just SQL. Is this true? how do i find it?
@alexg97343
@alexg97343 2 жыл бұрын
Great explanation
@christleiroezi8878
@christleiroezi8878 4 жыл бұрын
Hello, I have a huge Case statement query that groups a column into buckets, I am trying to count how many patients are in each bucket, How do I do that?The case statement does let me use the count function. Thanks
@abdulsami5843
@abdulsami5843 3 жыл бұрын
good tutorial, I am a bit confused about the sum(frieght) shouldn't the sum be increasing as we go down ?
@simondreyfuss754
@simondreyfuss754 2 жыл бұрын
Jurassic Park: We're gonna make a fortune with this script....
@charmalvarez9717
@charmalvarez9717 Жыл бұрын
thank you so much, did you stop posting videos?
@ravinderthakur7973
@ravinderthakur7973 3 жыл бұрын
Thx a lot, it helps me a lot
@MartinFaehrmann
@MartinFaehrmann 4 жыл бұрын
Very helpful video, thank you :)
@kellensampson289
@kellensampson289 4 жыл бұрын
Question: is it possible to then sort out your results so that all the customers within the same weight range are listed together? For example, all the "heavy" customers are ordered first, then all the "medium" customers, then all the "light" customers? All within the same output?
@ViciousZeroEnder
@ViciousZeroEnder 4 жыл бұрын
if you do order by freight it would effectively do what ur askin
@jordanroywhite
@jordanroywhite 4 жыл бұрын
Thanks so much for the great video!
@ashokandhra2268
@ashokandhra2268 7 ай бұрын
Thank you... It's helpful
@danielmejia8530
@danielmejia8530 4 жыл бұрын
Very Nice. Can I use logic after WHEN? let's say: WHEN (condition_A AND condition_B) THEN something.
@vigneshiyer2424
@vigneshiyer2424 4 жыл бұрын
Yes, you can.
@JoaoVictor-zq9tj
@JoaoVictor-zq9tj 3 ай бұрын
Really helpful!!
@karlderkastn7012
@karlderkastn7012 3 жыл бұрын
tomorrow is my final exam, thanks :)
@AngeloMendoza-e3p
@AngeloMendoza-e3p Жыл бұрын
Thank you so much for the help
@MohamedIbrahim-pg1rw
@MohamedIbrahim-pg1rw 5 ай бұрын
Group By 1 can u pls explain this
@montieeaster9883
@montieeaster9883 4 жыл бұрын
Can the Then output be another column rather than a text?
@FitzJeral784
@FitzJeral784 4 жыл бұрын
great video, thank you!
@BRAloni
@BRAloni 2 жыл бұрын
how to Write a query to display EMPLOYEES having ID 101,102,103 as per the below order: 1. 101, 2. 103, 3. 102 (Hint: Union Operator / Case Statement) QUERY
@itzyfan88
@itzyfan88 Жыл бұрын
Very clear, thanks
@ViciousZeroEnder
@ViciousZeroEnder 4 жыл бұрын
DO MORE SQL VIDEOS PLEASE!!!!
@factorise001
@factorise001 3 жыл бұрын
waiting for new videos!!
@attrinh8343
@attrinh8343 Жыл бұрын
verry good content
@gonzalomartinez1575
@gonzalomartinez1575 8 ай бұрын
Thanks very useful
@pv6010
@pv6010 Жыл бұрын
u r the man, thankxxxxxxx
@蔡佩儒-z5b
@蔡佩儒-z5b 4 жыл бұрын
good job
@nunesburicato3199
@nunesburicato3199 4 ай бұрын
good work
@andyn6053
@andyn6053 3 жыл бұрын
more sql videos pls :)
@Leopar525
@Leopar525 2 жыл бұрын
I love your content but you should zoom in a bit.. too much empty space and we cannot see the letters without high definition when on mobile
@Leopar525
@Leopar525 2 жыл бұрын
I love your content but you should zoom in a bit.. too much empty space and we cannot see the letters without high definition when on movile
@praji1202
@praji1202 2 жыл бұрын
Where is the if condition?
@languagesandotherstuffs3305
@languagesandotherstuffs3305 5 ай бұрын
Thank you
@KevinTempelx
@KevinTempelx 4 жыл бұрын
Thanks!
@yotsusan_machi
@yotsusan_machi Жыл бұрын
thank kyu mr
@Helloimtheshiieet
@Helloimtheshiieet 2 жыл бұрын
Ok... but not if you do case when XYZ AND ABC then 1 else 0...
4 жыл бұрын
Thanks
@prasadkhairnar7915
@prasadkhairnar7915 3 жыл бұрын
thanks : )
@BessieMartin-cl8sz
@BessieMartin-cl8sz Жыл бұрын
interest!
@mujtaba135
@mujtaba135 4 жыл бұрын
Need Help !!!!!!!!!!!
@harshavardhank9915
@harshavardhank9915 3 жыл бұрын
please use single quotes otherwise it won't work
@nextdoortechieaminfirnash6002
@nextdoortechieaminfirnash6002 2 жыл бұрын
It was right to the point. Thank you for a wonderful lesson.
@Leopar525
@Leopar525 2 жыл бұрын
I love your content but you should zoom in a bit.. too much empty space and we cannot see the letters without high definition when on mobile
@adityadalvi7884
@adityadalvi7884 Жыл бұрын
Thanks
How to do Subqueries in SQL with Examples
8:20
Becoming a Data Scientist
Рет қаралды 179 М.
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 437 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
SQL WITH Statements (Common Table Expressions - CTE)
5:40
Becoming a Data Scientist
Рет қаралды 101 М.
SQL Case When Statement | Use Cases | #SQL Course #8
36:19
Data with Baraa
Рет қаралды 8 М.
Basic Aggregate Functions in SQL (COUNT, SUM, AVG, MAX, and MIN)
5:44
Becoming a Data Scientist
Рет қаралды 96 М.
Conditional Statements in R (If, Else If, and Else)
12:02
Becoming a Data Scientist
Рет қаралды 17 М.
SQL Tutorial - Nesting CASE statements
8:46
BeardedDev
Рет қаралды 21 М.
Advanced Aggregate Functions in SQL (GROUP BY, HAVING vs. WHERE)
6:00
Becoming a Data Scientist
Рет қаралды 270 М.
Learn 12 Basic SQL Concepts in 15 Minutes (project files included!)
16:48
Conditional Statements (If, else) & Loops in SQL Server | English
10:52
The Amazing Codeverse
Рет қаралды 22 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН