PostgreSQL CRASH COURSE - Learn PostgreSQL in 2024

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Get My FULL POSTGRES COURSE 90% OFF: www.udemy.com/...
    Thank you for watching! If you enjoyed please consider subscribing and liking the video.
    Follow me on Twitter - / troy_amelotte
    Tools used (for mac, pc users try pgAdmin)
    Postico - eggerapps.at/p...
    Postgres install - www.postgresql...
  • НаукаНаука

Комментарии • 220

  • @TroiCodes
    @TroiCodes  2 месяца назад

    Full Postgres Course available for 90% off:
    www.udemy.com/course/practical-postgres-master-the-most-important-parts-of-sql/?couponCode=RUclips-PG-BEGINNER
    My course is focused on the most practical parts of postgres and the goal is to teach you the most useful things as quickly as possible.

  • @boxboxerson991
    @boxboxerson991 2 года назад +15

    This is one of the only programming tutorials on the site that deserves its title. You didn't assume I knew anything but you didn't insult my intelligence either. Half of the video isn't being dedicated to setup and you jump in with practical examples. You don't have any annoying ticks and you're not just reading off of documentation. I don't like being meaninglessly positive, if your work isn't good you shouldn't be praised for it, but this video really deserves all the praise in the world. Maybe it would have been good to cover some initial setup but as you rightly point out near the start the docs are there there for a reason.

  • @1066sgp
    @1066sgp Год назад +9

    I have an extenisve background in DB development going back to DB2. It's been awhile and I need to get up to speed on POSTgres quickly so I can assist my main guy who is doing all the front and back end work. I totally agree with all the people who say, 'hey...this guy is smart, well spoken, a good trainier, and someone who I trust to learn a lot from." Thanks Troy. I appreciate you very much

  • @doug_horne
    @doug_horne 2 года назад +26

    Great video man. Your teaching style is enthusiastic (but not overly done), clear, and concise. Thanks cor creating this, a real time saver for me. I came here because I am learning how to use Prisma + Railway and had no idea how to create and manipulate tables in PostgreSQL, so I had no idea how to create a scheima. 👍

  • @kdamerma
    @kdamerma 7 месяцев назад +1

    I usually fall asleep watching SQL tutorials, but that 50 mins flew by, thank you!

  • @rimalguru
    @rimalguru Год назад +1

    I watched your video as the first video
    and I am starting Postgre SQL
    God, bless you, bro.

  • @anthonyngooo
    @anthonyngooo Год назад +3

    GOATED definitely one of the best videos with clear explanations, examples, and great commentary of not just what but WHY we do things without the bloat of other videos.

  • @mercadocomproposito2621
    @mercadocomproposito2621 8 месяцев назад +2

    These 50 minutes are better than my 80 hours college course about Database!

  • @araara967
    @araara967 5 месяцев назад +2

    [00:49] Speaker 1 explains the difference between relational and non-relational databases and introduces Postgres as a relational database.
    [02:14] Speaker 1 explains the structure of a table in a database, with rows representing entities and columns representing attributes.
    [03:36] Speaker 1 introduces Postaco as an interface for interacting with Postgres and explains the use of keywords in SQL.
    [04:55] Speaker 1 discusses creating a table in Postgres, explaining the syntax for defining columns and the importance of the ID column as a primary key.
    [06:33] Speaker 1 explains the use of uppercase keywords and lowercase self-named elements in SQL, using the example of column names.
    [09:03] Speaker 1 explains the use of the varchar data type for text columns and the maximum length constraint.
    [11:10] Speaker 1 explains the concept of an integer data type and the use of the serial type for automatically incrementing IDs.
    [12:39] Speaker 1 explains the concept of a primary key and demonstrates the successful creation of a table in Postaco.
    [13:54] Speaker 1 explains the syntax error that occurs when using a table name that is a keyword and demonstrates the use of double quotes to resolve the issue.
    [15:42] Speaker 1 discusses the convention of using singular table names and the importance of following naming conventions in software development.
    [17:07] Speaker 1 explains the process of inserting data into a table, specifying the columns and values to be inserted.
    [21:07] Speaker 1 demonstrates the insertion of additional data into the table and confirms the successful execution.
    [22:15] Speaker 1 introduces the "select" keyword in SQL and explains its use for retrieving information from tables.
    [24:27] Speaker 1 explains the use of the "where" keyword to filter entries in a select statement based on conditions.
    [25:26] Speaker 1 discusses the importance of using "where" statements in update and delete statements to specify which rows to affect.
    [26:23] Speaker 1 explains the process of updating data in a table using the "update" and "set" keywords, emphasizing the use of the "where" statement.
    [27:25] Speaker 1 demonstrates the successful update of data in the table and verifies the change.
    [29:38] Speaker 1 explains the use of delete statements in SQL and the importance of specifying conditions for deletion.
    [31:19] Speaker 1 introduces the concept of data relationships and explains how tables in SQL can be related to each other.
    [32:33] Speaker 1 explains the concept of a one-to-one relationship in a database and provides an example using user and avatar tables.
    [34:02] Speaker 1 explains the three relationship types in relational databases: one-to-one, one-to-many, and many-to-many.
    [36:12] Speaker 1 explains the concept of a one-to-many relationship using the example of RUclips videos and comments.
    [37:30] Speaker 1 explains the process of setting up a one-to-many relationship between users and posts using a foreign key.
    [39:02] Speaker 1 explains the concept of a many-to-many relationship using the example of a school setup and discusses the use of a join table.
    [40:44] Speaker 1 discusses the structure of a post table and the use of foreign keys to relate posts to users.
    [43:03] Speaker 1 demonstrates the insertion of data into the post table and confirms the successful execution.
    [45:33] Speaker 1 demonstrates how to select data from multiple tables using joins and introduces the concept of inner joins.
    [48:11] Speaker 1 discusses the issue of column name conflicts and demonstrates how to modify column names in query results using aliases.

  • @adamkostandy7796
    @adamkostandy7796 2 года назад +7

    Dude you need to make the advanced tutorial. This was sick, also that slip up at the end killlled me

  • @sinpwnzorz
    @sinpwnzorz 2 года назад +12

    Great video. Having debilitating ADHD and always getting hung up on little things, you went at a pace and explained things step by step to the point I had no issues picking it up even while not medicated, that sir is a feat in itself. One tip to help with when you're like "oops sorry if this is too small" I don't know if you use OBS but if you did you can simply run that program in windowed, but full size in the recording window which effectively increases its size. Ive done this trick in zoom and google meetings too but getting the aspect ratio down is tricky.

    • @pablitocodes
      @pablitocodes 12 дней назад

      He went to slow for me. I'll never find that sweet middle ground.

  • @giuliotiseo2693
    @giuliotiseo2693 2 года назад +1

    Best tutorial about postgres for beginners. I've watched 10 videos on RUclips and this is definitely the best. Subscribed.

  • @YuuffyLIVE
    @YuuffyLIVE 11 месяцев назад

    @TroyAmelotte this has been the best introduction to postgres I've seen so far. Other tutorials overcomplicate stuff in 3 hour long videos. Thank you very much, you're a great teacher.

  • @pablitocodes
    @pablitocodes 12 дней назад

    I worked with a guy who was trash at literally everything but SQL. He's doing really well. GG at this.

  • @Sara-xi2ug
    @Sara-xi2ug 2 года назад +91

    I'd rename it to "SQL crash course"

    • @CBiscuit25
      @CBiscuit25 Год назад +24

      Agreed, seems like a good SQL crash course but as someone who's already learned mariadb and mySQL, my main feedback is the video didn't give a good sense of how Postgres is any different.

    • @Sara-xi2ug
      @Sara-xi2ug Год назад +3

      @@CBiscuit25 yup, that's what I was hoping to see

    • @darklaker
      @darklaker 15 дней назад

      The same I thought, it's OK for the people trying to learn any SQL DBMS but it's not specific about postgresql.

  • @HunterHunter150
    @HunterHunter150 2 года назад +1

    This is better than most paid content. This channel is so incredibly underrated. I hope the algorithm blesses you soon

  • @ecemelisbozdag7912
    @ecemelisbozdag7912 Год назад +2

    It was the best video I watched during the preparation process for the technical interview. It was very productive and informative that you explained everything without going into too much detail, but without skipping details. thank you so much.

  • @minimalchanges6566
    @minimalchanges6566 2 года назад +3

    OMG I love this. Thank you so much for putting this together. I've taken the first step in understanding databases. You are a lifesaver sir!

  • @chocochocosweet258
    @chocochocosweet258 2 года назад +1

    I am a Bootcamp student. super duper helpful. I wish I had an instructor like you.
    Thanks a lot.

  • @sirchewtrain
    @sirchewtrain Год назад +1

    You’re a great teacher man. Very helpful for getting started no cap 😂

  • @grandetaco4416
    @grandetaco4416 8 месяцев назад

    Good start for someone like myself that has learned Microsoft Tsql and is trying to get into postgre sql.

  • @dula161
    @dula161 Год назад +3

    This is by fat the best Postgres video i've seen on RUclips so far

  • @MichalNowierski
    @MichalNowierski Месяц назад

    44:49 this is the most interesting part of the whole video. Solving things like this is what really makes you good beyond theory

  • @emmamendez3012
    @emmamendez3012 2 года назад

    S/O all those getting to the end - Dyslexic and following this through was super easy and high level enough to apply as SE - but it’s the Corgis, slur for dogs that had me in absolute stitches that I had to comment - only those who get to the end get it!!! Legend!!!

  • @BrettSurenne
    @BrettSurenne 3 месяца назад

    Great video. I agree with all the positive comments. Such a shame this bloke didn't make a whole series of videos on this subject, like he suggested in this video. So many people could benefit.

  • @manlibra43
    @manlibra43 11 месяцев назад

    Thank you very much! I'm new to SQL, and this helped me grasp it better.

  • @BryanChance
    @BryanChance Год назад +1

    OMG, I gave up on PostgreSQL years ago because I didn't know about the difference with single and double quotes. LOL
    That's what drove me to use MySQL ever since....

  • @Buchawski
    @Buchawski Месяц назад

    i love you my guy. this is so chill and helpful

  • @ebubeugwuezi8092
    @ebubeugwuezi8092 2 года назад

    Thanks a lot for this video. Currently undergoing a course that requires me to learn PostgreSQL and I don't have prior SQL knowledge. This was really concise and it helped me to get up to speed with the basics.

    • @Majey_KE
      @Majey_KE 2 года назад

      Yoh, my guy from ALX-T 😅

    • @ebubeugwuezi8092
      @ebubeugwuezi8092 2 года назад

      @@Majey_KE You're part of the program too? 😂

  • @interesting_stuffs
    @interesting_stuffs Год назад +2

    good one but there was nothing about PostgreSQL in particular, it was all about MySQL and Fireship channel has the same content in < 17mins man, this one with 50 mins was just too much and sadly it doesn't anything specific to PostgreSQL!

  • @cjbantillo8142
    @cjbantillo8142 8 месяцев назад

    Thank you so much! This save me a lot of time understanding what SQL is all about

  • @sineadward5225
    @sineadward5225 Год назад

    Really like your style. It's like a breath of fresh air tbh!

  • @getchertified
    @getchertified Год назад

    You teach so well, Troy. I was wondering where the continuation of this tutorial is...

  • @DanteNava
    @DanteNava 2 года назад

    Thanks for posting this! It really helps to make sense of Postgres, at least on this basic stuff you have shown here. REALY hope the aditional parts are coming, at least kind of soon! 😃

  • @Slimboifranco
    @Slimboifranco 2 года назад

    Great Work Sir. I just started SQL course with Postgres and this video is helping me stay ahead of the class. Thank You!

  • @StalkedHuman
    @StalkedHuman 4 месяца назад +1

    If you say 2+2=4 they'll say you're being "imperative".. or if you say the sky is blue, they'll saying you're arguing. The polarity of slander is religious.

  • @BruceBeck-f1n
    @BruceBeck-f1n Год назад

    😎 Nice! Just getting back into PostgreSQL. Appreciate the clear & concise instructions in your video. Looking forward to checking out "postico", especially if I cannot get Sublime Text to work with PostgreSQL. (I'm fairly sure it will, I just need to figure out how to set it up.) The last course I took focused on using the command line for everything - I'm glad you didn't go there. Nothing at all wrong with using the command line, I just appreciate the simplicity of a text editor. Anyway, thanks again and I hope you have continued to make awesome RUclips videos. Cheers!

  • @theoppanagh
    @theoppanagh 10 месяцев назад

    Great video Troy. you cleared all my confusion. Thanks
    i look forward to a project on this and the advance class

  • @samah6659
    @samah6659 10 месяцев назад

    This was incredibly helpful, thank you so much! You teach so well and I gained a lot from this, thank you :))

  • @augedoo8409
    @augedoo8409 Год назад

    Best explanation I've had on many-to-many relationships. Thanks Troy

  • @daveys
    @daveys 6 месяцев назад

    Great primer on PostgreSQL basics. Many thanks!

  • @ahmedmohsen1873
    @ahmedmohsen1873 Год назад

    You are an amazing instructor and I'm wondering where are the advanced topic that you said you're going to talk about!!, can't wait to see it

  • @steff420
    @steff420 Год назад

    amazing introduction. i really like your enthusiasm which makes the video entertaining to watch!

  • @georgesol
    @georgesol Год назад +6

    Amazing crash course! Thanks a lot! You're a great teacher, man 😁

  • @gustavk3227
    @gustavk3227 3 месяца назад

    Phenomenal. Gave me all I needed to get started.

  • @JohnHessGA
    @JohnHessGA Год назад +1

    Great introduction to PostgreSQL. Could you recommend a Windows based tool similar to POSTICO?

    • @justin9494
      @justin9494 Год назад

      I'm using HeidiSQL and it does the job

  • @career248
    @career248 Год назад

    Had to leave a comment after the "you can be the first one please?" moment. This vid helped me!

  • @reginold5988
    @reginold5988 2 месяца назад

    do some AWS s3 bucket and LAMBDA CRUD rest function video.

  • @shady5063
    @shady5063 2 года назад

    Genuinely thought he was about to cry around here 14:40 - 14:45
    I was like daaang... this man really loves this shit.. word. Seriously though, if you can continue the Database (postgres) make it into a serie.. you are good at teaching this stuff.

  • @sureshsurendran737
    @sureshsurendran737 2 года назад +3

    Wonderful presentation Troy. So clear and easy to understand on every word. 👍

  • @HugoBernardo-m4l
    @HugoBernardo-m4l 21 день назад

    It ´d have been REALLY worthy with some SQL Function template so it´d have killed
    it! Very good, anyway.

  • @catalinsuceveanu4923
    @catalinsuceveanu4923 Год назад

    Great video, you are entertaining and the material is good. I got a lot of value from my 50 min with you. Thank you Troy! I have been looking for the follow up course, but I guess you never got to making it.

  • @humanityrush
    @humanityrush 2 года назад +2

    this is such a good crash course! keep it up bro, I learned a lot

  • @myhanhnguyen5198
    @myhanhnguyen5198 2 года назад

    thank you so much, so easy to understand because i'm just a beginner to postgreSQL

  • @ElijhaW
    @ElijhaW 4 месяца назад

    Wish I learned it like this in school! Amazing video

  • @dallassnyder1764
    @dallassnyder1764 9 месяцев назад

    Man you're a great teacher. Thanks!

  • @scottsmith9830
    @scottsmith9830 11 месяцев назад

    Amazing video thank you. Very well spoken and perfect mix of theory and application.

  • @tomgabauer9878
    @tomgabauer9878 2 года назад +8

    Good to see you building a channel, Troy! I hope you continue with this. You are such a natural teacher.

    • @TroiCodes
      @TroiCodes  2 года назад +1

      Thank you tom! Hope all is well with you.

  • @miguelrivest9816
    @miguelrivest9816 8 месяцев назад

    Amazing tutorial, thank you so much for putting this together

  • @braian4478
    @braian4478 2 года назад +1

    Such a great explanation, thank you for the video!. I think I've found a very nice channel :D

  • @Konslufius
    @Konslufius Год назад

    This is very good. I'm currently in training and my task for the week is to use a database for my Java project. I'll use your video for educational purpose for sure.

  • @tomasborek9018
    @tomasborek9018 2 года назад +5

    such a sweet and easy to follow tutorial. Thank you :)

  • @MotionInMotion1975
    @MotionInMotion1975 2 года назад +1

    I loved your intro. I love straight shooters. Great video.

  • @steelgear3876
    @steelgear3876 2 года назад

    This was a very good watch. I have a mainly MSSQL DB back ground having worked as both a DB Dev and DBA. For me the main value was seeing the similarities between MSSQL and PostegreSQL. Any tips on how to get into a job involving PostgreSQL without having done it at anytime during your professional career.

  • @artieghosh529
    @artieghosh529 Год назад

    Amazing tutorial, also 44:32 cracked me up

  • @michalroesler
    @michalroesler Год назад +1

    When can we expect a 50-60 minute, extensive, comprehensive PostgreSQL joins Tutorial? This one was so awesome, I'm waiting for sql Joins Tutorial.

  • @barbaradovo1523
    @barbaradovo1523 Год назад

    Thank you so much... looking forward to the advanced tutorial.

  • @Deccoyi
    @Deccoyi 2 года назад

    Great video bu I have a question 40:07 A class can have multiple students? Likewise lets say we have a task table and a task can be assign to multiple users. How do we do that?

  • @ukaszzajac6704
    @ukaszzajac6704 2 года назад

    everythings great but at 10:24 VARCHAR is the exact same bytes in storage low level as TEXT (its in the dont do this part of the postgresql wiki), it doesnt optimize storage or anything really, but its just a way to both fullfil the sql standard and to explicitly limit the size of a string

  • @Travel_and_music_shorts
    @Travel_and_music_shorts Год назад

    Bro, make a playlist of in depth explanation of PostGreSQL

  • @NoahBoulder
    @NoahBoulder 2 года назад

    Great video, was perfect for refreshing myself with the basics of SQL

  • @shanildajones6208
    @shanildajones6208 2 года назад +1

    How does everyone not use the PSQL SHELL at all, but tell you two download another program. How does that work, when all I wanted to learn is PSQL in the shell not some easy to use interface, where It won’t be available for use in any job situations. What company used pop whatever.

  • @SolomonFoskaay
    @SolomonFoskaay 7 месяцев назад

    Simplified and very Helpful
    Thanks🎉

  • @josephthecreator
    @josephthecreator 2 года назад

    Amazing crash course on Postgresql. Thank you Troy.

  • @LeaTamola
    @LeaTamola 3 месяца назад

    This video was great, thanks!

  • @yernur_ismailov
    @yernur_ismailov Год назад

    Thanks a lot! This video is very helpful for beginners!

  • @archaeologistify
    @archaeologistify 5 месяцев назад +1

    44:32 casually admitting to murder... :D

  • @gina7898
    @gina7898 Год назад

    This was so helpful. Thank you so much!

  • @rizwanamir2004
    @rizwanamir2004 2 года назад

    great video, troy. Had to get a quick intro to sql in one day, ur vid saved me

  • @JaysonRomulo-q4n
    @JaysonRomulo-q4n Год назад

    kudos! this video is very clear and detailed.

  • @sab0004
    @sab0004 2 года назад

    I'm sure I ain't the first, but commenting because algorithm and great explanation, besides you said please :P

  • @michalroesler
    @michalroesler Год назад

    It's very good PostgreSQL tutorial.

  • @timothyjackson5897
    @timothyjackson5897 2 года назад

    I like the way you teach, very informational. Thanks for the info!

  • @kylespencer2192
    @kylespencer2192 2 года назад

    Really solid crash course, exactly what I was looking for to see and write some SQL/postgres code for the first time without diving in too deep

  • @amusedhermit4672
    @amusedhermit4672 Год назад

    I love this video so much. You are a great teacher and made learning SQL much easier. Thanks for all that you do!

  • @KerryEmerson
    @KerryEmerson 6 месяцев назад +2

    Bro sounds like he's trying to hold in the puff puff

  • @sheruthom6339
    @sheruthom6339 9 месяцев назад

    good video. im 15 mins in and enjoying it.

  • @mikensondemosthenes8233
    @mikensondemosthenes8233 2 года назад

    Thanks so much! Great Crash course!

  • @alexonyeka3599
    @alexonyeka3599 26 дней назад

    Awesome... Thank you for this.

  • @imcool3357
    @imcool3357 2 года назад +1

    Great video you should definitely make a more full tutorial like a beginner to master esk type.

  • @ginikadaily
    @ginikadaily Год назад

    You are goated Troy. Thank you.

  • @raadiyaharend5921
    @raadiyaharend5921 Год назад

    Thank you so much this video is super helpful

  • @SageRap
    @SageRap 15 дней назад

    I stopped watching 5min in. It absolutely blows my mind that so many people who somehow consider themselves "teachers" actually do things like jump-cutting to an open window, and beginning to type code/commands, with literally *zero* context or explanation regarding *where* they are typing this or how they got there... "This is just an interface for interacting with Postgres." _immediately begins writing code_ Gee, thanks so much... How tf is anyone supposed to follow this? Download Postgres, then sit back and snap our fingers and this window magically opens itself up in front of us, configured properly, connected to a database server, and ready to receive commands?? Wtf? Information about how to prepare/configure and open the GUI or CLI where one begins writing code is *essential* to actually learning about subjects like this, yet literally 9 out of 10 "teachers" *always* skip the first, essential, basic steps like this. It grates me to no end.

    • @valerioharvey7289
      @valerioharvey7289 3 дня назад

      I feel that too. Someone like corey schafer is prob one of the only one who really tell how things work, and I learn a lot from his pandas course. He made one about postgres, but I haven't watched it

  • @nirajgupta3957
    @nirajgupta3957 Год назад

    Thank You for making this video.

  • @lily_h-m7j
    @lily_h-m7j Год назад

    Thanks Troy! You're fun

  • @TheCodeWhisperer0o0
    @TheCodeWhisperer0o0 4 месяца назад

    its 1/june/2024, I want to say
    I have an error of connection, I don't have postgres install which I think it needs to be installed + I get (connection failed) error in postico.
    Thank you so much, I cant thank you enough

  • @rax7907
    @rax7907 11 месяцев назад

    Great video, thank you!

  • @s99902
    @s99902 Год назад

    This man deserves the like.

  • @Gamuss12345
    @Gamuss12345 Год назад

    Thank you so much for your content!!!

  • @jake.felice
    @jake.felice 2 года назад

    This is a life saver. Thanks a lot mate!