SQL VIEWS + Complex Queries, Cross Joins, Unions, and more! |¦| SQL Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มี.ค. 2019
  • In SQL, a VIEW is a virtual table. It lets you package a complex query into a single table. We will discuss several queries in increasing difficulty to show how VIEWs can greatly simplify your work. In our examples we will introduce CROSS JOINs, Unions, the CONCAT() function, and the COALESCE() function.
    Our SQL playlist starts here:
    ↪bit.ly/Socratica_SQL
    Be sure to SUBSCRIBE for more SQL!
    ↪ bit.ly/SocraticaSubscribe
    You may also enjoy our Python playlist:
    ↪bit.ly/PythonSocratica
    ♦♦♦♦♦♦♦♦♦♦
    Ways to support our channel:
    ► Join our Patreon : / socratica
    ► Make a one-time PayPal donation: www.paypal.me/socratica
    ► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9
    Thank you!
    ♦♦♦♦♦♦♦♦♦♦
    Connect with us!
    Facebook: / socraticastudios
    Instagram: / socraticastudios
    Twitter: / socratica
    ♦♦♦♦♦♦♦♦♦♦
    SQL instructor: Ulka Simone Mohanty (@ulkam on Twitter)
    Written & Produced by Kimberly Hatch Harrison (@khhsocratica) & Michael Harrison (@mlh496)
    ♦♦♦♦♦♦♦♦♦♦

ความคิดเห็น • 403

  • @Socratica
    @Socratica  4 ปีที่แล้ว +125

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @vasiovasio
      @vasiovasio 4 ปีที่แล้ว +1

      Do you can tell us the name of the program, SQL client that you use in this series? Thank you!

    • @MrRandsauce
      @MrRandsauce 4 ปีที่แล้ว

      you're cool

    • @unabonger777
      @unabonger777 3 ปีที่แล้ว +1

      @@vasiovasio pgAdmin

    • @vasiovasio
      @vasiovasio 3 ปีที่แล้ว

      @@unabonger777 Thank you!

    • @paulhetherington3854
      @paulhetherington3854 ปีที่แล้ว

      Under score - istt below - the Ln! Hence; it needs - a Ln!

  • @dharmaturtle
    @dharmaturtle 4 ปีที่แล้ว +532

    I've never been so entertained while learning SQL. Amazing job.

    • @hawnannahian9538
      @hawnannahian9538 4 ปีที่แล้ว +2

      dharmaturtle Same here. She is so funny🤩 I like her

    • @anthonygonsalvis121
      @anthonygonsalvis121 3 ปีที่แล้ว +1

      Wait till you watch her (old) Python series!

    • @TheSoulCrisis
      @TheSoulCrisis 2 ปีที่แล้ว +4

      It's amazing how well your brain absorbs material when you're having fun with it!

    • @wjrasmussen666
      @wjrasmussen666 2 ปีที่แล้ว

      I wish she was doing more videos!

    • @skylersaville2590
      @skylersaville2590 ปีที่แล้ว

      Right?! This is amazing!

  • @elsins9790
    @elsins9790 3 ปีที่แล้ว +218

    The combination of being funny, intelligent and being creepy at the same time.
    I just love it. ❤️

  • @olzhasarystanov9582
    @olzhasarystanov9582 2 ปีที่แล้ว +52

    This is one of the most underrated channels in IT community. The material quality is decent and concepts are easy to grasp because of entertaining style. Thank you for your work

    • @Socratica
      @Socratica  2 ปีที่แล้ว +10

      Thank you so much for your kind words!! It inspires us to keep making videos.
      It *has* been hard for people to find our channel, for some reason. TH-cam is so unpredictable in its recommendations. It is a HUGE help if you share our videos on social media or by email with your friends/ teachers/ fellow students/ coworkers. THANK you, Socratica Friend! 💜🦉

  • @InternationalBigshot
    @InternationalBigshot 5 ปีที่แล้ว +140

    I've been SQLing for years but this taught me something new.

    • @cyberceel
      @cyberceel 3 ปีที่แล้ว +19

      Dare I say it changed your point of.. view..

    • @arsalsohail298
      @arsalsohail298 3 ปีที่แล้ว +2

      I must say, my concepts got renewed.

  • @Ninja_Reborn
    @Ninja_Reborn 4 ปีที่แล้ว +9

    Wow, THIS is how courses should be done. Not just plain information, but contextualized with relateable scenarios and jokes, and adequate soundrack + sound fx. I'm in love with this series!

  • @rheaa-menon
    @rheaa-menon 3 ปีที่แล้ว +26

    I have never been more entertained and curious while learning database systems; I developed a strong dislike for the subject because of a teacher with very questionable teaching skills but you guys made me thoroughly enjoy the subject. Thank you so much!

  • @mcan543
    @mcan543 4 ปีที่แล้ว +41

    #KeyTakeAways
    1:13 To restrict some of your columns use VIEW
    3:09 To simplify complex and frequently used queries use VIEW
    3:47 CONCAT function can be used to create unique ids from unified tables.
    6:44 CROSS JOIN and COALESCE

  • @hitmanLis
    @hitmanLis 2 ปีที่แล้ว +1

    Music + animation + humor + beauty +details = just perfect!

  • @chriswetherall5517
    @chriswetherall5517 4 ปีที่แล้ว +3

    It's 10pm in the UK on a Friday and I'm geeking out. Good job!!!!

  • @SweetestTrade
    @SweetestTrade 4 ปีที่แล้ว +23

    This is one of the best SQL video I've seen on TH-cam! This video actually helped me remember what SQL Views are.

  • @ren3083
    @ren3083 3 ปีที่แล้ว +1

    This SQL series is absolutely awesome, understanding all that muuuuuuuch better now. Thank you for this great work!

  • @hamzac.4555
    @hamzac.4555 3 ปีที่แล้ว +9

    she killed me at the end, view, overview, review, you... It looked like her rapper side was taking over. Keep it up !

    • @joeyc666
      @joeyc666 2 ปีที่แล้ว +2

      and then whispers "Subscribe"

  • @rafaelagentry7809
    @rafaelagentry7809 4 ปีที่แล้ว +53

    omg i loved this!!! i am a huge science fiction nerd and i instantly wanted to learn about databases that included stuff about mars. this was fun!

    • @Socratica
      @Socratica  4 ปีที่แล้ว +7

      We're so glad you enjoyed it! We had so much fun making these videos.

  • @tamyabs3560
    @tamyabs3560 ปีที่แล้ว +1

    im studying software engineering in college, and our SQL teacher is less than qualified, he barely explains the material and only gives attention to the more "understanding" students, i gave up on him a few weeks ago cause he made the whole SQL subject seem impossible to grasp, until i watched this series, thank you so much!!

  • @sarahheintz6992
    @sarahheintz6992 2 ปีที่แล้ว +1

    Best tutorial on SQL I've watched so far for my exam prep :D Entertaining and straight to the point - thank you!

  • @jeffreyphillips4376
    @jeffreyphillips4376 5 ปีที่แล้ว +24

    "Grumble"
    Hahahahaha
    Great content, fantastic acting. I learn a lot from these videos, and the delivery is remarkable. You guys make a great team!

  • @neenersx3
    @neenersx3 2 ปีที่แล้ว +1

    WHY AM I JUST FINDING OUT ABOUT THIS CHANNEL???? I am halfway through my database systems class (failing) but this channel is giving me hope :)

  • @felix954
    @felix954 2 ปีที่แล้ว +1

    How crazy is it that I learned more SQL from this TH-cam playlist than from the "Professor" and College level course I am taking?
    Thank you Socratica and Cyber-Ulka !

  • @syedb8943
    @syedb8943 2 ปีที่แล้ว +1

    I like the teaching style and pun on words. All concepts that seemed too difficult to understand are made so simple. Thanks a ton 😊👍

  • @psyferinc.3573
    @psyferinc.3573 ปีที่แล้ว +1

    i really love you. every time the info is a mess in my head you bring it all together beautifully. thank you

  • @HarshitShetty5
    @HarshitShetty5 3 ปีที่แล้ว

    Amazing vid! Love how you've explained it with the graphics and storytelling. Quality content!

  • @johnathanjames2872
    @johnathanjames2872 10 หลายเดือนก่อน +1

    Whoever edits these videos, good job!

  • @khangnguyendac7184
    @khangnguyendac7184 8 หลายเดือนก่อน

    WOW, the last 2 video of this series is amazing, I didn't know SQL could be that helpful

  • @sandeepreddy4178
    @sandeepreddy4178 3 ปีที่แล้ว

    I’ve been working on SQL for years now, but completed this video just because I thoroughly enjoyed it

  • @illlanoize23
    @illlanoize23 3 ปีที่แล้ว +1

    Dear god as a cs student watching all my lectures I cannot explain how refreshing it is to hear something with a little a little presentation. They just kinda told me to do these complex queries without teaching me so this is really helpful too. I love the whole space aesthetic too w the green screens and deep bass lines my brains always been drawn to it. Reminds me of planetside 2 a bit. Thank you for this vid I’m glad I came across it. I’m off to try to find that green matrix like background image to make my pc wallpaper

  • @maresolaris
    @maresolaris 3 ปีที่แล้ว

    What a delight watching this video. Clear, concise and very helpful. Thank you very much!

  • @ronayusan4047
    @ronayusan4047 3 ปีที่แล้ว

    Great way to teach SQL! Definitely eye-catching and entertaining!

  • @funtrain503
    @funtrain503 4 ปีที่แล้ว

    Thanks for this brilliant guide on SQL. I have been following tutorials on SQL on youtube since last ten years...and nothing helped. And your tutorial helped me in greater depth

  • @syedinamulhaq5173
    @syedinamulhaq5173 2 ปีที่แล้ว

    Absulutely loved every single video !! Great work !

  • @prakashgadupoodi7549
    @prakashgadupoodi7549 ปีที่แล้ว +1

    Amazing. If the teachings are supposed to be like this, learning will be beautiful.
    Thanks!. Looking forward to getting your uploads.

  • @paulinmt2185
    @paulinmt2185 5 ปีที่แล้ว +1

    Very enjoyable and interesting. I use MySQL for in-house projects, and find this series quite useful. Brava!

  • @ajinxRGB
    @ajinxRGB ปีที่แล้ว

    What a view !! she explains it so beautifully... i love her methodology ...just amazing !!!

  • @elijahromer6544
    @elijahromer6544 ปีที่แล้ว

    This was the best SQL video I have ever watched

  • @user-tk1re2hd2y
    @user-tk1re2hd2y 3 ปีที่แล้ว

    OMG. I'm sure you don't have an idea how great you are. Thx for that kind of videos

  • @user-vy5ik1gn4b
    @user-vy5ik1gn4b 8 หลายเดือนก่อน

    Covers all the points in less time!! very helpful :) Thanks

  • @ilia54
    @ilia54 4 ปีที่แล้ว +1

    One of the best tutorials i have seen i my life, amazing. thanks you.

  • @treyannan7852
    @treyannan7852 3 ปีที่แล้ว

    I avoided databases for decades becoz it was boring & irrelevant at the time. Then THIS !! Made sense easily, FAST (!!!) & so much more fun. Can't Thank you enough @socratica

  • @AndrewT34pot
    @AndrewT34pot 4 ปีที่แล้ว

    This is the second video I'm watching
    I love the information and the production quality

  • @faustopf-.
    @faustopf-. ปีที่แล้ว

    Engaging, creative and super delightful to watch tutorial. Now I like this language even more. Thank you!

  • @quahntasy
    @quahntasy 5 ปีที่แล้ว +5

    Another excellent video.
    Loved it!

  • @harshavardhanranger
    @harshavardhanranger 3 ปีที่แล้ว

    Omg the amount of work u put into each video is really commendable, Thanks a ton dear!!

  • @Aborichinal
    @Aborichinal ปีที่แล้ว

    Very good channel! I love the delivery!!!!!

  • @jessicafaust2748
    @jessicafaust2748 2 ปีที่แล้ว

    I think I just learned more in 8 mins than that last 2 months. Bravo!

  • @prakharsahu7145
    @prakharsahu7145 2 ปีที่แล้ว

    this is just the best SQL tutorial ever!!!!!!

  • @jeetkar6999
    @jeetkar6999 ปีที่แล้ว

    SQL session taken to next level, fantastic job done

  • @TheTrace8
    @TheTrace8 3 ปีที่แล้ว

    Another awesome video!!! I might end up watching everything you two have posted.

  • @firesongs
    @firesongs 2 ปีที่แล้ว

    I love the simple 1-2 sentence explanation in layman terms for things like cross join. Cant find that anywhere else. Thank you

  • @mikhailsladkomedov7415
    @mikhailsladkomedov7415 3 ปีที่แล้ว

    Amazing video with funny and illustrative examples. Thanks for making my SQL learning path interesting!

  • @Gromspox
    @Gromspox 3 ปีที่แล้ว

    I really liked this tutorial! It made SQL VIEWS so much easier!!!

  • @jayraldempino1944
    @jayraldempino1944 4 ปีที่แล้ว

    As a beginner, I found this informative and concise. Thank You for explanations.

  • @tivchack
    @tivchack 3 ปีที่แล้ว +34

    Try not to laugh challenge - SQL version!! 😂😎👍

  • @anbee7056
    @anbee7056 ปีที่แล้ว

    I was watching another video and fell asleep, when I was half awake, I saw your video and click, WOW, I am wide awake, no more sleepy time to study SQL :)))

  • @GideonTsangplus
    @GideonTsangplus 3 ปีที่แล้ว +1

    I agree this lady makes the best SQL video!

  • @Nosilaurus
    @Nosilaurus ปีที่แล้ว

    Thank you so much for your content! I wanted to understand unions and views better and I knew that your account would provide a simple explanation that made the concepts easy to understand. It reminded me to finally subscribe too, because I forget frequently. You're the GOAT

  • @zaurtigiev8869
    @zaurtigiev8869 3 ปีที่แล้ว

    I love the way you are explaining stuff in this video. It is very funny. Thank you for the great content!

  • @murtazajabalpurwala8124
    @murtazajabalpurwala8124 ปีที่แล้ว +1

    you are the best tutor in the world and the most unique experience of learning.

  • @ademtepe2855
    @ademtepe2855 4 ปีที่แล้ว

    Loved it, loved it, loved it! Amazing and brilliant!

  • @anthonygonsalvis121
    @anthonygonsalvis121 3 ปีที่แล้ว

    @Socratica, thanks again for simplifying the SQL concepts. A very good example of cross join. Please consider adding a bit more of your quirkiness that we all fell in love with through your Python series. It was so addicting...

  • @jacobshore
    @jacobshore 5 ปีที่แล้ว +5

    Examples from the video:
    www.db-fiddle.com/f/tDULuaaBegoN3kSw5fgbb3/8
    Thanks for the tutorial!
    The production value of these videos are great. SQL tutorials have never been so entertaining.

    • @Hybe123
      @Hybe123 2 ปีที่แล้ว +1

      Wow, you're a godsend! I'm not sure why socratica didn't do something like you did, but ok. Makes me think most of people just look at the lessons. The key is to do them in my opinion.

  • @johnsample5170
    @johnsample5170 2 ปีที่แล้ว

    I think I am in love. Simple, funny, highly entertaining, super creative and delivered by a beautiful young lady with super snazzy graphics. You got a new sub

  • @adaezeifesi4732
    @adaezeifesi4732 3 ปีที่แล้ว

    You’re a fantastic teacher! Thank you!!

  • @7MechanicalAnimal
    @7MechanicalAnimal ปีที่แล้ว

    Very enjoyable and informative to watch!

  • @deviprasadrajuvysyaraju
    @deviprasadrajuvysyaraju 2 ปีที่แล้ว

    I love the way you taught... great job👏

  • @philanglade2745
    @philanglade2745 5 ปีที่แล้ว

    Great video ! Looking forward to see new ones soon. Thank you !

  • @surenhta
    @surenhta 3 ปีที่แล้ว

    Teaching the futuristic way. Kudos :)

  • @GoredGored
    @GoredGored ปีที่แล้ว

    Thank you Ulka, it was a quick overview.

  • @spaceman3518
    @spaceman3518 3 ปีที่แล้ว

    I finally understood that! Thank you for brilliant overVIEW :D

  • @cyberceel
    @cyberceel 3 ปีที่แล้ว

    What a lovely way to teach!

  • @kovan111
    @kovan111 3 ปีที่แล้ว

    you are the most amazing teacher ever. Absolutely amazing

  • @NavyGunner1980
    @NavyGunner1980 3 ปีที่แล้ว

    She is Awesome! concise and to the point!

  • @teo11300
    @teo11300 3 ปีที่แล้ว

    I love these space/Martian based themed vids. Pretty cool...!

  • @nitusain2145
    @nitusain2145 2 ปีที่แล้ว

    I love the way you talking.
    And thanks for the best information....

  • @frankasante5594
    @frankasante5594 2 ปีที่แล้ว

    I really enjoyed this lesson. This is really a fun way to learn!

  • @JoeWong81
    @JoeWong81 5 ปีที่แล้ว +1

    I love Socratica!!

  • @adriancritchley2485
    @adriancritchley2485 3 ปีที่แล้ว

    This is just excellent. Mars data makes so much more sense to me than the data I'm using in my actual job.

  • @mumtazjoyo4638
    @mumtazjoyo4638 4 ปีที่แล้ว

    You have unique and excellent method of teaching. I have never seen such kind of educational channel on youtube.
    Keep it up guys.👍👍

  • @joshuaerkman1444
    @joshuaerkman1444 2 ปีที่แล้ว

    I Love your content everytime I watch it.

  • @danilomiguelangelacostadot5137
    @danilomiguelangelacostadot5137 ปีที่แล้ว

    This woman is amazing. Love the way she explains stuff , she makes everything so intriguing xD
    Thank you Socratica, now i have a better view over... Views :P

  • @prozacsf84
    @prozacsf84 2 ปีที่แล้ว

    That happens when a woman wants something. She gives everything for the cause. You have me Socratica as a subscriber and fan. Enjoy 😊

  • @DJEYkanjaria
    @DJEYkanjaria 5 ปีที่แล้ว

    One of the best vide'o' . Kudos to Socretica

  • @JohnnysaidWhat
    @JohnnysaidWhat ปีที่แล้ว

    Amazing job! Actually learned sql 🎉

  • @grassash
    @grassash ปีที่แล้ว

    Thanks for this Simple, Effective and Entertaining lecture.

  • @vaibhavbhatt434
    @vaibhavbhatt434 2 ปีที่แล้ว

    ONE OF THE BEST SIMPLE & SOBER TUTORIALS OF SQL !!! YOU REALLY DESERVE A MILLION OF SUBSCRIBERS. THUMBS UP FOR YOU. PLEASE MAKE MORE TUTORIALS ON SQL ( STORED PROCEDURE,TRIGGERS,FUNCTIONS,CTE) IT WILL BE REALLY HELPFULL

  • @Commander_HW
    @Commander_HW 4 ปีที่แล้ว

    These video are so good!!!!!! Easy and clear!

  • @smzaccaria
    @smzaccaria 3 ปีที่แล้ว

    These videos are awesome, they are so helpful! This is better than the official content on LinkedIn.

  • @miriamhopeestradavega8249
    @miriamhopeestradavega8249 2 ปีที่แล้ว

    YOU ARE A BOSS QUEEN!!! I LOVEEEE YOUR CHANNEL!!

  • @kakkurij
    @kakkurij 5 ปีที่แล้ว +3

    Love this video series! Could you do a tutorial on ER diagrams and how to transform them to actual database? Can't wait to learn what's next!

  • @islamsaied6484
    @islamsaied6484 2 ปีที่แล้ว

    your way of explaining is beautiful

  • @TheDataMaestro
    @TheDataMaestro 3 ปีที่แล้ว

    Others have made similar comments but you make learning fun. I liked and subscribed.

  • @jurgenaddicks1634
    @jurgenaddicks1634 4 ปีที่แล้ว +1

    Well done, i've got another VIEW on this topic now. ;-) I like this channel !

  • @bm-ub6zc
    @bm-ub6zc 3 ปีที่แล้ว

    more women should teach computer science stuff. the way you presented your teaching was full of dedication, what i admire. you went the extra mile for using an entertaining and visual example. most computer scientists don't. they explain things very boring and incomprehensible (although on youtube there are really good ones).

  • @Juan-Hdez
    @Juan-Hdez ปีที่แล้ว

    Most useful and entertaining. Thank you!

  • @tusharjangid2492
    @tusharjangid2492 3 ปีที่แล้ว

    Superbly Explained!

  • @triplea7071
    @triplea7071 4 ปีที่แล้ว +2

    The last 4 sentences were straight BARZ. She had 2 drop the mic 💥

  • @damangrewal5939
    @damangrewal5939 3 ปีที่แล้ว

    It was so awesome , never new view could be interesting

  • @YourCousinJillTV
    @YourCousinJillTV 3 ปีที่แล้ว

    You’ve just saved me more grey hair. Thank you for the edutainment. 😊

  • @Gloryisfood
    @Gloryisfood 3 ปีที่แล้ว

    Excellent explanation! I'm glad I subscribed the channel. Thanks!

  • @juanrivera8044
    @juanrivera8044 2 ปีที่แล้ว

    Being new to SQL this help A lot

  • @mufizshaikh8439
    @mufizshaikh8439 4 ปีที่แล้ว

    you guys are amazing. keep up the good work!