MySQL - The Basics // Learn SQL in 23 Easy Steps

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • JOIN me for a full beginner’s tutorial on MySQL. Learn the basics of relational databases by recreating AirBnb’s database with raw SQL fireship.io/tags/sql/
    Buy the MySQL Pillow fireshipio-swag.creator-sprin...
    References
    Diagram drawsql.app/fireship/diagrams...
    Installer dev.mysql.com/downloads/insta...
    MySQL Docs dev.mysql.com/doc/
    #mysql #database #tutorial
    00:00 0. SQL is King
    00:49 1. The Legend of Ted Codd
    01:24 2. ORM Magic
    02:00 3. What is a RDBMS?
    02:37 4. Draw SQL Diagrams
    02:56 5. Schemas, Datatypes, & Constraints
    04:12 6. Be Normalized
    05:00 7. Install MySQL on Windows/Mac
    05:50 8. Create a New Database
    06:13 9. SQLTools VS Code Extension
    06:46 10. --comments
    07:02 11. Basic SQL Syntax
    08:04 12. Primary Key
    08:31 13. Varchar vs Text
    09:31 14. INSERT New Data
    10:28 15. Read or SELECT Data
    10:57 16. LIMIT & ORDER
    11:23 17. Filtering with WHERE
    11:50 18. LIKE pattern matching
    12:19 19. INDEX for read speed
    12:56 20. JOIN a relationship
    15:41 21. Alias AS
    16:08 22. JOIN through a middle man
    16:58 23. DROP a video
    Install the quiz app 🤓
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • Наука та технологія

КОМЕНТАРІ • 1,4 тис.

  • @talhajubairsiam2197
    @talhajubairsiam2197 3 роки тому +1488

    Two MySQL DBAs walk to a NoSQL bar, but they had to leave because they couldn't find any tables! :)

    • @oussamakhalfi1751
      @oussamakhalfi1751 3 роки тому +117

      Two tables sitting in a bar
      then a select statement came and said can i join u??

    • @DanielDaniel-xz2yp
      @DanielDaniel-xz2yp 3 роки тому +8

      They also had to leave because they couldn't get in, the bar clearly has an agenda against SQLs

    • @alvinxyz7419
      @alvinxyz7419 3 роки тому +32

      Why mysql walk into a bar that doesn't like relations...

    • @oussamakhalfi1751
      @oussamakhalfi1751 3 роки тому +3

      @@alvinxyz7419 HAHAHAHAHAHAHAHAHHA

    • @killerdroid99
      @killerdroid99 2 роки тому +1

      nice pun

  • @marcellsworth287
    @marcellsworth287 3 роки тому +2201

    I literally spent $4,000 and four months on my college course for database management to learn what you just taught extremely well in 17 minutes.

    • @shanetravel
      @shanetravel 3 роки тому +61

      yeah its sad isnt it..

    • @nikhilbajaj3797
      @nikhilbajaj3797 3 роки тому +107

      Spending 4k on learning one single subject is nuts bro

    • @Robert-ov1wi
      @Robert-ov1wi 3 роки тому +16

      Seriously, or just exaggerating?

    • @marcellsworth287
      @marcellsworth287 3 роки тому +49

      @@nikhilbajaj3797 yeah, but that’s what it costs per class at my university in the US (if you include the cost of room and board and fees and whatnot). I should have gone to a cheaper university, but my parents and older siblings expectations pushed me here. I had a great experience, but if I could go back and make a different decision I absolutely would

    • @marcellsworth287
      @marcellsworth287 3 роки тому +7

      @@legionsra I appreciate the kind words, and you’re absolutely right I won’t be pressuring my kids into the same situation I got pushed into. That book sounds extremely interesting, I’ll be looking into it 😁

  • @SilveradoNL
    @SilveradoNL 3 роки тому +271

    I been using MySQL for over 14 years now, yet i still watched a 17 minute video on 'The Basics'.... Totally worth it!

    • @kilianlindberg
      @kilianlindberg 2 роки тому +3

      Cool, same here. Since ~2002 😀

    • @keremardicli4013
      @keremardicli4013 2 роки тому +2

      Have you ever written pages long SQL queries? If so, what were the use cases? I really wonder :)

    • @makotv6898
      @makotv6898 2 роки тому +1

      @@keremardicli4013 Speed, in MSSQL for example procedures and triggers tend to be a lot faster then using a shit language like php. since everything is done within sql. All those shitty queries you tend to make with an ORM and some linked list garbage speed up tons.
      For example recently I had to generate questions for something based on the database that was being used. Alas I did it in MSSQL with procedures and triggers to build the whole procedure.

    • @Rawyu
      @Rawyu Рік тому

      Cool. I have a question if you don't mind i just started SQL out of curiosity. I understood how to make a database. My question is how do i make it user friendly i mean what if some one has to enter a data into my database but they shouldn't use insert statement. Something like a data entry form ? How do i make connections to database and data entry form ?
      Sorry if this is a stupid question

    • @passionatebeast24
      @passionatebeast24 Рік тому +7

      @@Rawyu you can use HTML form along with php in your web app and sanitize your data . This way you can get user inserted data but avoid sql injection.

  • @stevie1da_
    @stevie1da_ 3 роки тому +495

    This semester, I'm taking "Introduction to Databases" in college. This 17 minute video taught me more about databases and SQL than my professor has done in 15 weeks (8 hours a week). So as of now, the 120 hours I've spent in class < 17 minutes of this video

    • @michaelwest2451
      @michaelwest2451 2 роки тому +34

      College in a nutshell. Wish this was all covered in a trade school, we'd learn more in a year than getting a masters in CS.

    • @arno.claude
      @arno.claude 2 роки тому +29

      In this case, your college is really really bad, or you are a bad student.

    • @J-Kimble
      @J-Kimble 2 роки тому +9

      sad reality of most colleges

    • @aninnymoose720
      @aninnymoose720 Рік тому

      all that time spent in school is to learn that one thing u can't learn anywhere else. i was pissed

    • @VICTORZITOSS
      @VICTORZITOSS 11 місяців тому +16

      ​@@arno.claudeor he's memeing and doesn't realize that the only reason he was able to digest this video so easily is because he'd spent half a year working on it already

  • @jakye
    @jakye 3 роки тому +925

    "I use arch, btw"
    You had to say that, didn't you? 😂

    • @sandunrathsara9102
      @sandunrathsara9102 3 роки тому +116

      Linux users when they couldn't tell someone that they use linux for 5minutes => 🤯😭😷😱🤒

    • @gurbux6491
      @gurbux6491 3 роки тому +26

      Legit laughed out loudly when he said that

    • @earlh
      @earlh 3 роки тому +39

      Arch users are like Harvard graduates, they'll get out of their way to let you know.

    • @arifdevcoding
      @arifdevcoding 3 роки тому +5

      i think i know what your profile picture is.. btw

    • @ravenbergdev
      @ravenbergdev 3 роки тому +16

      Purpose of this entire vid was to just be able to mention that 😂😂😂

  • @stephen9849
    @stephen9849 3 роки тому +249

    I saw a great movie about databases today.
    I can't wait for the SQL

    • @shrin210
      @shrin210 3 роки тому +1

      Which movie??
      Name?

    • @No_Namee111
      @No_Namee111 3 роки тому +1

      Which movie?

    • @WasiMaster
      @WasiMaster 3 роки тому +18

      @@No_Namee111 r/woooosh

    • @WasiMaster
      @WasiMaster 3 роки тому +17

      @@shrin210 r/woooosh

    • @xi_red4936
      @xi_red4936 3 роки тому +15

      Dang, they really didn't get the joke 🥶

  • @KangJangkrik
    @KangJangkrik 3 роки тому +352

    9:12 "country" should be CHAR(2) instead of VARCHAR(2)
    Because country ID always has 2 characters and CHAR absolutely meant for fixed character length. Thus, long term disk usage + performance efficiency.

    • @toopkarcher
      @toopkarcher 2 роки тому +81

      Didn't understand but I agree

    • @davincis1
      @davincis1 2 роки тому +19

      @@toopkarcher each data type takes a different amount of bites which effect disk space on the server as the database gets filled with data.

    • @daniellewilson8527
      @daniellewilson8527 Рік тому +2

      @@davincis1 how do you find how many bites one type takes up compared to another?

    • @chrisobi02
      @chrisobi02 Рік тому +7

      @@daniellewilson8527 google is the way. Different types use different numbers of bytes to store them, and with regards to char vs varchar, if it's variable the system likely needs to set aside some extra space on the hardware to account for potential resizing etc

    • @deadeye8
      @deadeye8 Рік тому +11

      ​​@@toopkarcher he means that varchar can have a number of characters upto the length you specify, which means that if you tell it to have 255 it will go upto that number while also can be less for eg 200, 15 or even 0 which is Null.
      But char will always have fixed number not more not less and since no country code comprises less than two letters/chars you can tell dbms to have exactly two characters for country code. But as far as i think it won't save space and it it does it would be varchar instead.

  • @flippyforever8186
    @flippyforever8186 Рік тому +66

    2 things for anyone still trying to use this guide in 2022 for Windows. The installer does not set the PATH variable for MySQL! You have to add the bin folder to your path variables manually. Also be sure to select the legacy authentication system when installing or else the VSCode extension he recommends won't work and give you a "Client does not support authentication protocol requested by server" error.

    • @vonderklaas
      @vonderklaas Рік тому +6

      PIN!

    • @idanlib
      @idanlib Рік тому +4

      Yes! Thank you! I had the same problem. ChatGPT helped :D But boosting this so others might see it.

    • @rajns8643
      @rajns8643 Рік тому +6

      PIN THIS @Fireship

    • @sanchitwadehra
      @sanchitwadehra 9 місяців тому +1

      PIN THIS

    • @hetgurjar5836
      @hetgurjar5836 7 місяців тому

      Pin this

  • @rohitkharche7562
    @rohitkharche7562 3 роки тому +236

    That drop keyword joke is Awesome 😂

  • @hamzaseif4992
    @hamzaseif4992 3 роки тому +176

    i love how this dude summarized a whole college course in 17 mnts !

    • @WesleyFranks
      @WesleyFranks 3 роки тому +7

      how the education should be.

    • @urbanlobster4812
      @urbanlobster4812 3 роки тому +2

      I have DBMS this sem, nice I watched it ahead 😂

    • @alexismandelias
      @alexismandelias 3 роки тому +4

      You've never attended a college course have you...

    • @willianandrade1357
      @willianandrade1357 3 роки тому +3

      ​@@alexismandelias I have and I must agree with this guy. For me it was 1 whole year of Database classes to see pretty much everything explained in the video except that it was in a totally different and harder manner. In the end (next semesters) you didn't even smell databases in posterior classes until the end of college if you didn't go to a "scientific research", which is pretty much a project with a teacher where you do 100% of the work and he get the credits for it.

    • @willianandrade1357
      @willianandrade1357 3 роки тому

      @@alexismandelias But that's my experience here in Brazil. I don't know where you live and where you've got your degree but I sure do hope it was someplace better than most of them.

  • @simon.p
    @simon.p 3 роки тому +60

    It's amazing how much knowledge he can pack in into such a short amount of time, and yet make everything crystal clear 👏

  • @cgme9535
    @cgme9535 2 роки тому +14

    I've been through *many* SQL beginner courses. You certainly take the cake for explaining the concepts quickly and effectively.

  • @JKCD
    @JKCD 3 роки тому +161

    Jeff you accidentally dropped the rest of the video using the drop keyword, please reupload it.😂😂

    • @Fireship
      @Fireship  3 роки тому +56

      Thanks for watching the whole video!

  • @krtirtho
    @krtirtho 3 роки тому +114

    Because you created this awesome SQL related video I think its hightime you make a ORM(s) related tutorial like TypeORM for Typescript Nodejs or the python one. A series on them will be more awesome💪

    • @Fireship
      @Fireship  3 роки тому +41

      Will do! Also plan on covering tools like Hasura.

    • @krtirtho
      @krtirtho 3 роки тому +2

      @@Fireship Interesting, I heard about it before but never used it. Waiting for that🤞

  • @PhuongNguyen-zb2en
    @PhuongNguyen-zb2en 3 роки тому +8

    Thank you! My whole Database course in my university in just 17m straight!! That's all I have to review before my interview

  • @Digital963
    @Digital963 3 роки тому +95

    As a former SQL dev I appreciate you making this video. Especially since ppl tend to have this weird idea about SQL that it’s an outdated complex technology when it really isn’t bad at all. Thank you 😊

    • @40nakedniggasonahugespacecraft
      @40nakedniggasonahugespacecraft Рік тому

      It is bad

    • @Cahangir
      @Cahangir 8 місяців тому

      @mr.darkside35 Check out the responsibilities of a Data Architect or a Data Engineer. Must become one of the most respectable positions in IT in near future.

  • @chaitanyakulkarni21
    @chaitanyakulkarni21 3 роки тому +130

    My whole semester's DBMS syllabus covered in 17 min, Nice 🙄 🔥

    • @ChaoticNeutralMatt
      @ChaoticNeutralMatt 3 роки тому +1

      Lmao. The feels.

    • @K9amilo90
      @K9amilo90 3 роки тому +7

      really? seems pretty basic to me, and I'm about to graduate with master's degree

  • @cardboardmf2252
    @cardboardmf2252 3 роки тому +12

    Despite having used SQL for many years, I still watch the whole video, because I will probably learn something I didn't know!

  • @jordanfoltz8729
    @jordanfoltz8729 2 роки тому +1

    This one of the best examples of how to explain SQL I have ever seen. Watch other people talk for 4 hours, still no idea what hell they are talking about. This guy did 4 hours in 17 mins in a good way. Thank you sir. Thank you

  • @atrijogangopadhyay1939
    @atrijogangopadhyay1939 3 роки тому +41

    Me before 1hour- Should have paid more attention in my DBMS class
    Me now- Should have subscribed to Fireship a few months ago.

  • @shashanksshetty9870
    @shashanksshetty9870 3 роки тому +6

    All your video contents are really great and helpful. For me, there was an instance where I had absolutely no context on the things to refer from. You always come up with a short and concise version concept. I really use your video content for brushing up. Trust me people who are watching all this video.
    "Short video which covers up all topic isn't an easy task". It takes lots of skills and experience to do so!
    Thank you for all you're content

  • @Piston1776
    @Piston1776 Рік тому +5

    for people watching in 2023 @6:32 there will be a setting called "password mode" change it from "SQLTools Driver Credentials" to "Save as plaintext in settings"

    • @vonderklaas
      @vonderklaas Рік тому +1

      Thanks, but I get this error for some reason, can you advice me something?
      ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

    • @dunyan1586
      @dunyan1586 Рік тому

      @@vonderklaas same I need help toooo

    • @Piston1776
      @Piston1776 Рік тому

      @@vonderklaas Moral of the story is you did something wrong in the configuration process

    • @Piston1776
      @Piston1776 Рік тому

      @@vonderklaas Ok not sure what is wrong with youtube but I have replied several times to your comment and it never went through.

    • @vonderklaas
      @vonderklaas Рік тому

      @@Piston1776 Weird, well it's okay!

  • @flogginga_dead_horse4022
    @flogginga_dead_horse4022 3 роки тому +1

    I've been working with databases for 20 years and still learned a few things!!! Great video...

  • @arouser
    @arouser Рік тому +1

    Bro you literally save me from this semester. I got no prior knowledge in sql but you given hope to pass the sem. Thanks a lot man..

  • @Kevin-lr6jy
    @Kevin-lr6jy 3 роки тому +17

    Love that ending, legit startled me for a couple seconds 😂

  • @RideByAquib
    @RideByAquib 3 роки тому +4

    Glad I stumbled on this channel. All these short videos are amazing! This was a no-nonsense refresher to what I learned in College many years ago. Also enjoying the other vids. Subbed. 👍🏼

  • @PhillipMwaniki
    @PhillipMwaniki 3 роки тому

    This video taught me what a left join and a right join does. Been writing raw queries but I always stick to inner join. Thanks man.

  • @ahmadsyauki9346
    @ahmadsyauki9346 3 роки тому

    I literally spent a whole semester, 4 credit course, with weekly practical-assignment, just to learn it from you in 17 minutes, and your version is better. Thanks bro

  • @talhaibnemahmud
    @talhaibnemahmud 3 роки тому +42

    Damn!
    The ending was cool ❤

  • @fishedinson1
    @fishedinson1 3 роки тому +3

    This is amazing! My first SQL video ever. I must say there is so much to digest that i My need to rewatch it a few more times.

  • @nyashachiroro2531
    @nyashachiroro2531 3 роки тому

    This is hands down the best tutorial on mySQL and SQL... And its all in 17 Min 🤯🤯🤯

  • @retronav
    @retronav 3 роки тому +2

    Thank you for uploading this video! This helps me cover all things I need for this semester as well as my project. Keep up the good work, Jeff!

  • @Christopher-ew7jw
    @Christopher-ew7jw 3 роки тому +58

    Thanks Jeff❤️
    “I use arch btw”

    • @sanjay_swain
      @sanjay_swain 3 роки тому

      @Mr. Mehi arch is famous for really difficult to install and use (which is not entirely true) so telling "I use arch" is more of a flexing. Anyway it's not that hard to use honestly and recently you can also install arch with a proper installation interface (earlier you have to do all with command line).

    • @sawwwru
      @sawwwru 3 роки тому

      @@sanjay_swain jokes on you. You still have to do it command-line way because there's no GUI yet. Before it used to be copy-pasta from wiki now it's more over like selecting from the given option.
      I use mujiOS, btw

  • @vuhoang7109
    @vuhoang7109 2 роки тому +4

    Thank you much for this awesome, simple tutorial! I'm eager to learn more of this good stuff about SQL.

  • @mopishlynx2323
    @mopishlynx2323 7 місяців тому +1

    Thanks so much for these insanely good tutorials! I needed a database for a project and had never touched SQL before; i got it up and running super quickly thanks to this video!

  • @uta481
    @uta481 2 роки тому

    Trust me, I'm currently studying for Information Technology. We had a database(SQL) class/course and I didn't understand anything laid out by our teachers. This guy is a saver

  • @arshadpakkali
    @arshadpakkali 3 роки тому +13

    Now i can add SQL to my resume,
    "I use arch btw" 😂

  • @IsThatNiek
    @IsThatNiek 3 роки тому +3

    I love how he keeps saying sequel, S.Q.L or structured query language to try not trigger anyone, keep it up man :^)

  • @unizfrhn2803
    @unizfrhn2803 3 роки тому +2

    Easy to digest and thoroughly entertaining video on MySQL I've seen so far. Well done.

  • @hk_200k
    @hk_200k Місяць тому

    I've always wanted to learn sql but this is the first video that I have watch from the beginning to the end.
    The speed is fast enough and the content is very useful, a very good showcase

  • @AP-ol7tj
    @AP-ol7tj Рік тому +7

    I wish every tutorial on earth would seem like this... Everything is explicit, plain and simple. Even your screen resolution and graphical elements are so helpful. A great thank you for your work and sharing your knowledge with us!

    • @Helloimtheshiieet
      @Helloimtheshiieet Рік тому

      That's also because SQL is literally purely declarative more so than any other language. So it comes across that way as well.

  • @asiessingh23
    @asiessingh23 3 роки тому +24

    That abrupt ending was hilarious 😂😂

  • @scrapdev1219
    @scrapdev1219 Рік тому +2

    This channel never disappoints me. All the vital information is compressed into small videos and delivered efficiently in an entertaining way. This guy is a genius.

  • @temaelbouaazzaoui8709
    @temaelbouaazzaoui8709 Рік тому

    I usually pause educative videos so many times because they are boring but I watch yours without pausing them, you are the best

  • @kwangsamyew8469
    @kwangsamyew8469 3 роки тому +4

    I needed this! I meant the video. A dolphin pillow would be nice too :)

  • @juliankandlhofer7553
    @juliankandlhofer7553 3 роки тому +19

    Can you make a video about the difference between different SQL Databases? I don't really see why I would choose, for example, PostgreSQL over MySQL, MS SQL Server or even Oracle.
    Great stuff as always! 👍👍

    • @vex6559
      @vex6559 Рік тому

      Post is supposedly for enterprise lvl, big queries. MySQL is most effective in small to medium business, using light to mid queries.

  • @rayandogy1278
    @rayandogy1278 3 роки тому

    Thank God for this Channel 😭😭😭😭😭😭
    I am literally crying rn. As a self-taught front end developer it really means a lot to know how the backend works😊 thanks Fireship🔥🔥

  • @violetwtf
    @violetwtf 2 роки тому

    I am a full-time software engineer and am well versed in all of this. I just watch these because I really like your voice.

  • @Bersling
    @Bersling 3 роки тому +9

    I think UPDATE, GROUP BY and COUNT should also have made it into the video as they are very bread-and-buttery for SQL. Another thing: I really much prefer working with something like JooQ than an ORM. You get safety and flexibility at the same time. And SQL is actually really easy to learn (as you have shown), so no need for an ORM! They'll only slow you down by being a weird black box you'll have to mess with after some point.

    • @yash1152
      @yash1152 8 місяців тому

      what is JooQ??

    • @thrillhouse4784
      @thrillhouse4784 8 місяців тому

      ​@@yash1152writing sql in Java

  • @KalleJillheden
    @KalleJillheden 2 роки тому +3

    Fun trivia: the "My" in MySql stands for the Swedish author's daughter who was named My, which is pronounced like regular "M", plus the initial "Y" note from "You".
    It's not a pronunciation you have to change. Keep calling it MySql, as in "SQL that is mine", no need to confuse your coworkers about the native pronunciation of the app. It's like you have imported the name into your language, but haven't changed the spelling :P like how most languages do for other country names, ex Sweden vs Sverige, Germany vs Deutschland, MySQL vs MySQL :)

  • @MK-bx8xv
    @MK-bx8xv 2 роки тому

    I would like to briefly note that in almost every video you get equally good suggestions, as far as extensions for VSC are concerned. Thanks for that!

  • @rayraysss
    @rayraysss 2 роки тому +2

    Dude you have no ideia how your videos are helping me out

  • @4444altan
    @4444altan 3 роки тому +21

    "I use arch btw"
    How can you say something so controversial yet so brave.
    You are making me wish I was born later so I could learn everything in a good way from you lmao

  • @amanraj1608
    @amanraj1608 3 роки тому +31

    Notification squad 🙋🏻‍♂️

  • @anon4588
    @anon4588 3 роки тому

    If you're using MySQL, I'd recommend using MySQL Workbench for modelling and server management. As you can do anything from synchronizing a deployed MySQL server to your model, to transferring schemas across servers seamlessly.

  • @nothjg
    @nothjg 3 роки тому +1

    I was looking for my SQL tutorial bang you are here with that amazing tutorial in 17 mins

  • @GamingMatt
    @GamingMatt 3 роки тому +6

    The fact that these videos are free blows my mind. So much knowledge in 17 minutes

  • @sidrao2006
    @sidrao2006 3 роки тому +4

    Woah.. How? I just had to start with MySQL and Fireship to the rescue! 🔥

  • @Ziggy0120
    @Ziggy0120 10 місяців тому

    This video is a great supplement. I am currently reading Designing Data Intensive Applications and a lot of what is shown here is mentioned in the early chapters of the book but in a more practical way.

  • @afshin3k3
    @afshin3k3 6 місяців тому

    Thank you so much for this tutorial!
    I used this video to learn SQL for the first time touching SQL. It was an awesome tutorial!
    This (plus a quick review of w3schools exercises) helped me to pass the assessment for a Data Analysis job interview.

  • @wolverine4489
    @wolverine4489 3 роки тому +3

    Lol the ending was perfect 😂😂

  • @sidrao2006
    @sidrao2006 3 роки тому +23

    "Google is your best friend" - (Almost) Every developer's motto

    • @szhzs6121
      @szhzs6121 3 роки тому

      duckduckgo*

    • @chotai
      @chotai 3 роки тому

      @@szhzs6121 no developer needs that much privacy in code-time.
      Google is much better in it.

    • @thedarkthrone4699
      @thedarkthrone4699 2 роки тому

      Yup

  • @oliverer3
    @oliverer3 2 роки тому

    Thank you for this video I watched a few others before this one popped up and this is the only one that didn't assume prior knowledge despite being titled as for beginners. While I won't master the subject in a 17 minute video I finally know a place to start.

  • @ashutoshshaha8165
    @ashutoshshaha8165 2 роки тому +2

    Damn... You never let your viewers down
    Best channel ever came across
    Thank you so much for existing! 🙇

  • @nicov2k
    @nicov2k 3 роки тому +3

    Commenting for the pillow, staying to learn MySQL

  • @abhishekpratap8784
    @abhishekpratap8784 3 роки тому +12

    Semester worth knowledge in 17+ mins 😂 great work as always. Ending was smart and hilarious 😂

  • @rachitkumarpandey
    @rachitkumarpandey 3 роки тому

    I was looking for a good Tutorial on the topic a day back and here it is today. Love your videos

  • @fabiovelasquez8491
    @fabiovelasquez8491 2 роки тому

    Going through the process of designing my first database. Great info to know!

  • @fred.flintstone4099
    @fred.flintstone4099 Рік тому +3

    Never name your primary keys just "id", name them after the table name, example "user_id", "room_id", "booking_id" etc. This will make JOINs easier.

  • @quinnh9964
    @quinnh9964 3 роки тому +8

    So much for studying this in school when you've got fireship ❤️

  • @SilverDennis802
    @SilverDennis802 3 місяці тому

    12:19 just had me pass my interview with flying colors. So happy I watched this video 30 minutes before my interview! Thank you!

  • @garryrudman8869
    @garryrudman8869 Рік тому

    WoW, this just saved me hours of study. Straight forward instructions and brilliant examples Thank You !

  • @shakirulhasan
    @shakirulhasan 3 роки тому +15

    "I use Arch, btw"
    Nice flexing, bro 😉

    • @qwerasdfhjkio
      @qwerasdfhjkio 3 роки тому +5

      thank you

    • @ridl27
      @ridl27 3 роки тому +2

      could anyone explain the joke about Arch ?! xD

    • @qwerasdfhjkio
      @qwerasdfhjkio 3 роки тому +1

      @@ridl27 long story short, arch users for some reason always had to mention that they use arch to the point that it became a meme

  • @SridTech
    @SridTech 3 роки тому +5

    Liked the video without even watching it. I know it's gonna be lit 🔥🔥🔥🔥🔥🚒

  • @mouadlotfi916
    @mouadlotfi916 Рік тому

    I'm currently learning MySQL and this video was really helpful.

  • @warricksmythevideo
    @warricksmythevideo 3 роки тому +1

    Brilliant! Really appreciate the time you put into these videos.

  • @ParamKeshkamat
    @ParamKeshkamat 3 роки тому +5

    Me: from today I must sleep less and study more
    Goes to youtube for studying...
    UA-cam video: MySQL pillow giveaway

  • @kaze-xo
    @kaze-xo 2 роки тому +3

    16:40 The code here is incorrect and will NOT work the way you intend it to, because:
    the "Rooms.owner_id = guest_id" part will find rooms where the owner is also the guest (i.e. owner books his/her own room),
    instead, it should be replaced with
    "Rooms.id = room_id" which matches room ID in Rooms table and Bookings table.
    Otherwise, excellent informative video!

    • @MC-hc7wx
      @MC-hc7wx 7 місяців тому

      I agree with it being incorrect and your fix being the good one, but what his code will do is rather returning all (owner, room) pairs for each booking the owner has made anywhere no ?

  • @sagarhindochaa
    @sagarhindochaa 3 роки тому

    That ending though 👑
    Summarized nicely in 17mins, good format.

  • @redzeroray
    @redzeroray 3 роки тому

    What an ending! Awesome, as everything on your channel. Thank you for all your effort to help us grow!

  • @sahilrahman1494
    @sahilrahman1494 3 роки тому +20

    It is said that the MySQL pillow will help you store all the exam notes...

  • @staywithmesenpai
    @staywithmesenpai 3 роки тому +4

    "how do you know, that someone is using arch..."

  • @LordSwaggingtosh
    @LordSwaggingtosh 11 місяців тому

    Good video. Needed to review sql after doing it in my bsc and that made it all come back fast

  • @keithsloan994
    @keithsloan994 2 роки тому +1

    the sign-off was great. good work my dude, and thank you!

  • @itscrewston6684
    @itscrewston6684 Рік тому

    Thanks for this crash course on SQL, it was actually pretty entertaining to watch

  • @markschellhas
    @markschellhas 3 роки тому

    I use all kinds of databases, SQL is still the best language for querying data easily. Thanks for this video 🙌🏽

  • @pharmokan
    @pharmokan 2 роки тому

    literally the best dev channel in all of youtube. congrats on your future 1mil subscribers. hopefully you'll get it before 2021 ends

  • @victordan-jumbosodienye5618
    @victordan-jumbosodienye5618 3 роки тому

    Thanks alot. Especially on the Join table part. You've really been helpful Jeff 🤗

  • @emmanuelrosas4164
    @emmanuelrosas4164 3 роки тому

    Such a piece of video! It's gonna be useful right now I'm coursing DB modeling in my college. Thank you so much!

  • @tylermcgirt7568
    @tylermcgirt7568 Рік тому

    I read my college text book over and over trying to understand normalization and It finally clicked when I watched this! Thank you so much!

  • @TheEnde124
    @TheEnde124 3 роки тому

    Awesome video, you basically covered my entire uni course on databases

  • @Working55
    @Working55 2 роки тому

    You are the greatest person on Earth! Exactly what I searched the net - straight to it. Thanks!

  • @the_shafei
    @the_shafei 11 місяців тому

    this course is so great and has all the needed info you need it in a short time, big thanks ❤❤

  • @safiahmed6902
    @safiahmed6902 3 роки тому

    A very good video for someone who already has learnt sql but wants a quick revision!

  • @farzamkhoddam438
    @farzamkhoddam438 2 місяці тому

    thanks for the video. It was relatively short but it covered all the crucial concepts of mysql and sql in general

  • @AbdulelahAGR
    @AbdulelahAGR 2 роки тому

    Literally the best SQL course in the world!

  • @adnanamin1843
    @adnanamin1843 3 роки тому

    Learned so many new information about SQL. FIREShip on FIRE!

  • @DouglasFish
    @DouglasFish Рік тому

    I learned most of this scraping around the internet about two weeks ago.
    I've watched many of your videos
    I feel like a dummy for not trying to find this sooner, I learned a few extra tricks.

  • @abhayagarwal5097
    @abhayagarwal5097 3 роки тому

    A little complicated for beginners but well explained , tyvm.
    And , honestly it looks complicated and i am happy there are ppl who have tried solving this issue by bringing in nosql databases . Can't imagine how and why ppl would work with something as complicated as this .

  • @ginocode
    @ginocode 3 роки тому

    SQL seemed simple enough until I saw things like foreign keys and JOIN statements. Now they actually make sense. Thanks!