MySQL Crash Course | Learn SQL

Sdílet
Vložit
  • čas přidán 21. 04. 2019
  • In this video we will look at installing mysql, creating users, writing SQL queries via the shell and Workbench and even implementing MySQL into Node.js at the end.
    Sponsor: DevMountain Bootcamp
    goo.gl/6q0dEa
    MySQL Cheat Sheet:
    gist.github.com/bradtraversy/...
    💖 Become a Patron: Show support & get perks!
    / traversymedia
    Website & Udemy Courses
    www.traversymedia.com
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
  • Věda a technologie

Komentáře • 379

  • @TraversyMedia
    @TraversyMedia  Před 5 lety +300

    Slides - 1:00
    Download & Install Info - 9:34
    MySQL Path Info - 11:40
    Shell Login - 13:48
    CREATE USER - 14:43
    GRANT PRIVILEGES - 16:36
    CREATE DATABASE - 18:23
    CREATE TABLE - 19:08
    MySQL Workbench - 22:50
    INSERT - 25:20
    SELECT - 28:50
    DELETE - 31:21
    UPDATE - 32:05
    ALTER TABLE - 33:11
    Update via Workbench - 34:50
    ORDER BY - 36:10
    CONCAT - 36:50
    DISTINCT - 37:58
    BETWEEN - 38:49
    LIKE - 39:25
    IN - 41:40
    INDEXES - 43:00
    Table With FOREIGN KEY - 45:00
    INNER JOIN - 50:24
    Table With Multiple FOREIGN KEY - 52:30
    LEFT JOIN - 55:00
    Aggregate Functions (COUNT, MIN, MAX) - 58:46
    GROUP BY - 1:00:18
    Node.js & MySQL Example - 1:03:55

    • @kreshnikpalushi1587
      @kreshnikpalushi1587 Před 5 lety

      Pin this comment

    • @holachinazori1591
      @holachinazori1591 Před 5 lety +1

      can you please stop posting tutorials , i can't just watching your videos . 2017 2018 2019 ...

    • @taariqq
      @taariqq Před 5 lety +1

      @@holachinazori1591 .. lol

    • @taariqq
      @taariqq Před 5 lety +3

      Brad, if you could, please share a few good sources of sites where you can download data to play with. I mean your recommendations.

    • @sodiqoyedotun3185
      @sodiqoyedotun3185 Před 5 lety

      Can you post a link to the MySQL cheat sheet you are using

  • @jlambert12013
    @jlambert12013 Před 3 lety +43

    This was so much easier than I anticipated. Brad is the only person who can explain programming to beginners on CZcams

  • @mikec360
    @mikec360 Před 5 lety +238

    Just as I was looking for a competent MySQL tutorial your video pops ups.Brad you are always right on time. Be blessed

  • @jameskamonga6233
    @jameskamonga6233 Před 4 lety +11

    Thank you so so much BRAD for changing my life with your videos.. changing my career completely from working as a medical doctor to doing programming and web development has not been easy but with your videos, im progressing.. cant thank you enough bro

  • @taariqq
    @taariqq Před 5 lety +14

    JUST as we, at the BostonPHP Meetup group, were going thru the MySQL portion of the book! Perfect!
    I find these videos not only very helpful and practical but they are a perfect alternative to wasting time on TV.

  • @superxereu
    @superxereu Před 5 lety +12

    I've been doing SQL for 20 years and MySQL for 18, this crash course is simply superb!!!

  • @kramseyart7663
    @kramseyart7663 Před 5 lety

    Funny, I was JUST looking for a MySQL tutorial yesterday! Great timing. I have learned so much about web dev in just the past month alone, looking to start applying for jobs after another month or so of tutorials and trying my hand at making apps from scratch. All that you teach has been a huge help in my process, I really appreciate your hard work!

  • @koggism
    @koggism Před rokem +2

    I've watched a 3 hour tutorial on MYSQL and have to say it was good, but I have learned more from this 1 hour tutorial a lot more because you are to the point, you don't repeat, you don't pad it out with irrelivance. Very well presented, quality material.

  • @stevepatterson3822
    @stevepatterson3822 Před 5 lety +3

    You uploaded this a day before my Database Systems exam, this is why you're my favorite channel!

  • @AndresGarcia-lo4yr
    @AndresGarcia-lo4yr Před 5 lety +4

    Traversy you are truly awesome! thank you so much for these free tutorials, really help us Junior devs on a budget. I love the way you teach Programming. Every time I don't understand something, I always know that if you have a course on it or a youtube video I'm going to get it. Really appreciate everything you do.!!

  • @bulcub
    @bulcub Před 5 lety +1

    I learned more in 1hour then I did in forever!! trying to find someone who could explain and demystify SQL! You have given me the confidence to push forward to create a brighter future for myself. I have also purchased 5 of your classes from Udemy! Thank you and keep the tutorials coming.

  • @kecc
    @kecc Před 5 lety +2

    Thanks Brad for this fantastic video. I needed a quick refresher and this video came along at the perfect time. Extra thumbs up for the quick Node example at the end. Keep up the excellent work and thank you!

  • @balimerouane8341
    @balimerouane8341 Před 5 lety

    Bruh! I needed this course this week to switch my Django's project DB from SQLite3 to MySql, And it just so happened to be that my favourite web development teacher just uploaded it. Thank you so much man.

  • @gavin_z28
    @gavin_z28 Před 4 lety

    i have been struggling with sql for so long and this is just what I needed to get started thank you so much!

  • @mikeycates4989
    @mikeycates4989 Před 3 lety

    I just want to say that you are one of the key factors in my quick growth in coding and things like html css and javascript as well as this and multiple others and its been really nice to be able to have your knowledge out here and be abel to use that as a base for me and then i can grow from that. So thank you and i look forward to being able to watch your future videos

  • @brenthearn2578
    @brenthearn2578 Před 2 lety +1

    This video was SO HELPFUL. Very nice coverage of the basic info I needed, and *huge* props for the practical example at the end. Thanks so much!

  • @MrPDTaylor
    @MrPDTaylor Před 5 lety +62

    The day I decide to learn MySQL Brad uploads this video.
    It's definitely a sign.

  • @elijahromer6544
    @elijahromer6544 Před 2 lety +1

    Brad, I consider you to be the person who taught me everything. Thank you for all that you do.

  • @Dumpstermonkey19
    @Dumpstermonkey19 Před 5 lety

    Really needed this refresher after having used NOSQL databases for so long. It made my day when I saw this in my notifications.

  • @debadipti
    @debadipti Před 5 lety +2

    Great time Brad! I just finished SQL yesterday! Happened 2nd time after React JS

  • @ruchiragarwal4741
    @ruchiragarwal4741 Před 3 lety

    Thank you so much Brad. The video really helped me brush up the sql commands well enough while quickly learning in how to consume mysql in my node js application.
    Very informative !!

  • @baussier134
    @baussier134 Před 3 měsíci

    Thank you! I learned it properly at college, but it has been so many years untouched, until I found your course! You really helped me

  • @kateasusual4511
    @kateasusual4511 Před 5 lety +1

    You came to my rescue as always Brad! You truly have the best tutorials.

  • @MyReviews_karkan
    @MyReviews_karkan Před 5 lety +1

    Man, you make everything so easy to learn. My two favorite so far are you and Mosh. I've learned so much from you two. Thank you so much, man.

    • @MyReviews_karkan
      @MyReviews_karkan Před 3 lety

      @KENAN AMIRLi Mosh is really good, but he always limits his free courses so you buy his paid ones.

  • @bilalhussain5916
    @bilalhussain5916 Před 3 lety

    Brad thanks for always being able to thoroughly explaining every aspect of the new tutorials you post.

  • @kimokimo-se3ur
    @kimokimo-se3ur Před 2 lety

    a very clear course ! the theory , the practice and a real life use case ! thank you brad for such a great content !!

  • @joshsmusicshow9360
    @joshsmusicshow9360 Před 5 lety +2

    Thank you for changing my life with your videos, appreciate you Traversy

  • @emmanueleze3028
    @emmanueleze3028 Před 5 lety +10

    Thanks Brad, God bless you. Love from Lagos, Nigeria.

  • @jjgillian3567
    @jjgillian3567 Před 4 lety

    Clicked like even before I watch the video. I already knew this course will be awesome. Thank you Brad. :)

  • @CODINGISEASY
    @CODINGISEASY Před 5 lety +8

    *Nice MySQL tutorial.* I have forgotten lots of this since using laravel eloquent

  • @skhubs
    @skhubs Před 5 lety

    Thanks Brad sir, I have been waiting for this MySQL tutorial for several days. Your all tutorial best explanation. So I eagerly look forward to every single video. Thanks Brad sir.

  • @kamilka-visuals
    @kamilka-visuals Před 4 lety

    Hello everyone, just to get you started on Lux, Mint and Ubuntu:
    sudo apt-get update
    sudo apt-get install mysql-server-5.7
    sudo apt-get install mysql-workbench
    Have fun!
    @traversymedia , Sir, thank you, Brad. Great help, as usual!

  • @michellewilliams1090
    @michellewilliams1090 Před 5 lety +4

    This is exactly what I needed. Thank you my hommie

  • @apurvak9057
    @apurvak9057 Před 4 lety

    You are God. I almost finished the course and was thinking about how to implement it in a project and you even helped with that in the last segment. impressed as always.

  • @TheSafar
    @TheSafar Před 5 lety +1

    that's been of great help! People do appreciate your efforts

  • @allex3842
    @allex3842 Před 5 lety +2

    This is exactly what I need. Thanks Brad!

  • @cytuber
    @cytuber Před 5 lety +3

    Ohhh yeah!! I'd love a course on MySQL Workbench (just had to stop and say that... now back to the video...)

  • @LatinoWebStudio
    @LatinoWebStudio Před 2 lety

    awesome video! Something I found interesting is how to select all you use the asterisk (*) which is the same as in CSS. So it amazes how they relate to each other even tho they're different type of languages.

  • @hiranhasanka2164
    @hiranhasanka2164 Před 4 lety

    Dude Your crash courses are awesome! Keep it up!!

  • @JTexCasino
    @JTexCasino Před 5 lety +2

    Using this as interview prep. Thanks!

  • @yalikunisaierdar8948
    @yalikunisaierdar8948 Před 5 lety

    Thanks Brad. This course came just on time.

  • @wasiquehaider4727
    @wasiquehaider4727 Před 5 lety +11

    my man Brad is back

  • @puja6964
    @puja6964 Před 4 lety

    Thanks Brad,I learnt so much from you,just completed the video.

  • @benjaminsujith
    @benjaminsujith Před 5 lety

    Thank you so much Brad for being such a wonderful teacher..

  • @BruceMbayoPanda17
    @BruceMbayoPanda17 Před 5 lety +7

    Brad please i really like all your works, could you make a course for PostgreSQL

  • @WendyLiving
    @WendyLiving Před 2 lety

    Thanks for this crash course, it really gave me an in-depth understand on MySQL.

  • @tadakuniyasuda8214
    @tadakuniyasuda8214 Před 2 lety

    This channel is the best thing that ever happen to me.

  • @mogli3leo
    @mogli3leo Před 4 lety

    Thanks mate, great video. It helped me a lot to get a grasp on the basics.

  • @rubensmailbag
    @rubensmailbag Před 4 lety

    Great tutorial. Made everything crystal clear for me.

  • @Burak-pl1jl
    @Burak-pl1jl Před 5 lety +5

    First of all, thank you for all the tutorials you've been making. They helped me a lot!
    At 42:26, If we wanted to write the same query without using IN(...)
    Then it would've been ... WHERE dept = 'sales' OR dept = 'design';

    • @JayPatel12928
      @JayPatel12928 Před 5 lety +1

      Paused the vid, came in the comments section, to comment the same :)

    • @NickHope
      @NickHope Před 4 lety

      Correct. The IN operator allows you to determine if a specified value matches ANY value in a set of values or returned by a subquery, not ALL the values, as the video implies.

  • @studyabroad4free19
    @studyabroad4free19 Před 4 lety

    Brad you are such an inspiration. Thanks a lot for this video

  • @lokmanhossainpappu5096
    @lokmanhossainpappu5096 Před 3 měsíci

    Thanks Brad. such a informative beginners friendly course

  • @nat.serrano
    @nat.serrano Před 2 lety

    Great tutorial, no bullshit, no ego, not pretending to be smarter/superior, clear, concise, etc

  • @antonioaraujo6042
    @antonioaraujo6042 Před 2 lety

    Helping me in the new job a lot.... tks brad

  • @avinashmaggidi9749
    @avinashmaggidi9749 Před 5 lety +4

    Love u brad and for this amazing stuff always..stay blessed❤️.Everytime we keep waiting to learn from your videos when you are uploaded ..

  • @dwarikaprasad5836
    @dwarikaprasad5836 Před 8 měsíci

    Awesome Video.Really great kickstart indept learning of mysql

  • @rediet6620
    @rediet6620 Před 5 lety +1

    you the best brad thank you so much. love & respect

  • @7XStriderX7
    @7XStriderX7 Před 4 lety +1

    Awesome video, as always! Thanks!

  • @ryann7741
    @ryann7741 Před 3 lety +2

    yayy soo happy I found this ..thank you

  • @ahmed_mansour5
    @ahmed_mansour5 Před 4 lety

    Very helpful as usual. Thanks so much !!

  • @josevivas4902
    @josevivas4902 Před rokem

    Hi,
    I Greatly appreciate your tutorials @Traversy Media

  • @marciomafideju1775
    @marciomafideju1775 Před 5 lety +3

    Wow!!! Right on time!!!!

  • @cedvlogs7087
    @cedvlogs7087 Před 5 lety +8

    Thanks for making this course!!!

  • @evanilsonp.8183
    @evanilsonp.8183 Před rokem

    Hey man thanks for the tutorial on MySql. It was pretty amazing.

  • @princemusole6225
    @princemusole6225 Před 4 lety

    Gosh Brad is amazing.
    So I'm wondering, the people who have disliked this video, why are you even subscribed?

  • @pbo8896
    @pbo8896 Před 4 lety

    you my boy helped me a loooottttttt! thanks man

  • @bassguitarist2686
    @bassguitarist2686 Před 3 lety

    Thanks Brad for the tutorial!

  • @atiqure2000
    @atiqure2000 Před 5 lety

    Great Work!!! Learned a lot. Thanks...

  • @ActionParsnip
    @ActionParsnip Před 4 lety

    Awesome video with simple examples. Great style

  • @bhavukgarg3619
    @bhavukgarg3619 Před 4 lety

    You gave me more information than my professor could ever give me.😁👌

  • @harshshastri6099
    @harshshastri6099 Před 3 lety

    Just a Massachusetts Developer helping other Massachusetts Developers out LOL. Thanks for a wicked awesome comprehensive video bud

  • @InfinyTravel
    @InfinyTravel Před 3 měsíci

    Great lesson, thank you!

  • @DanielK48
    @DanielK48 Před 5 lety

    Great video, Brad! Would love to see a tutorial on MySQL Workbench :)

  • @marcostrevinorodriguez1254

    Amazing video man, thanks a lot for this

  • @RonnieLutaro
    @RonnieLutaro Před 3 lety

    This is one of the best SQL crash courses on the web I think.

  • @mohedul
    @mohedul Před 4 lety

    Thank you! Excellent explanation!

  • @danielc4267
    @danielc4267 Před 3 lety

    thanks for telling us to do research on join (inner, left, right). I am glad I did. :D

  • @zt.5677
    @zt.5677 Před 3 lety

    Thank you Brad. The video and the sheet as well.

  • @mohammedal-haifi6037
    @mohammedal-haifi6037 Před 2 lety

    This is awesome, Thank you very much, great course.

  • @aanfcnig
    @aanfcnig Před 2 lety

    i love your tutuorials !!!

  • @antonioaraujo6042
    @antonioaraujo6042 Před 2 lety

    Thank you Brad, your courses rocks!

    • @mohdhasnain3812
      @mohdhasnain3812 Před 2 lety

      bro i have an interview 2 days ahead is this tutorial enough for answering basic sql commands and all???

  • @kebincui
    @kebincui Před 3 lety +1

    Very clear explanation👍

  • @petrmach8677
    @petrmach8677 Před 5 lety

    Well done! Thanks for the video!

  • @fam.tuturu
    @fam.tuturu Před 2 lety

    Great video! Very helpful.

  • @hotubetv975
    @hotubetv975 Před 5 lety +1

    Brad you are great! I love your videos

  • @adamjamiu6764
    @adamjamiu6764 Před rokem

    Thanks Brad. you are a game changer. please can you do a video on "deploying MySQL" tutorial. thanks will really appreciate

  • @Equipois3
    @Equipois3 Před 4 lety

    This was wonderful, thank you

  • @tijani3141
    @tijani3141 Před 5 lety

    Brad u are the man, I love you man

  • @rugmaable
    @rugmaable Před 9 měsíci

    Thanks for the informative video. I have never worked with mysql or any database, I am learning the basics. Anyways this video will help me build on and keep learning.

  • @abdirahem221
    @abdirahem221 Před 5 lety +16

    Friend, brother, teacher Brad thank you. ❤

  • @basil_b_vegan
    @basil_b_vegan Před rokem

    Great video. I am excited to develop and harness these various tech skills and technologies to better the world and myself. Thank you for your leadership in helping others and being responsible for the outcomes of our lives

  • @caranthiro
    @caranthiro Před 5 lety +2

    Thanks a ton, man! Can you also do more (updated) PHP content sometime soon?

  • @Ashkou623
    @Ashkou623 Před 4 lety

    Seems like a good tutorial, going to watch it

  • @lattesu_
    @lattesu_ Před 2 lety

    awesome tutorial, thank you!

  • @locksfamily
    @locksfamily Před 5 lety

    Right on time Brad, as usual.

  • @jariftanjimmm
    @jariftanjimmm Před 3 lety

    1.2 million is still not enough for you... Your video worth over 5 million❤️

  • @Nik-rx9rj
    @Nik-rx9rj Před 2 lety

    great job! thank you

  • @indiansoftwareengineer4899

    nice course sir. waiting for next video- SQL project with NodeJS.

  • @mauriciosotoa8130
    @mauriciosotoa8130 Před 4 lety

    as always very good content, carefully explained.

  • @user-ty7ij1mk1p
    @user-ty7ij1mk1p Před 9 dny

    You'r the best, thank you!!