Entity Relationship Diagram (ERD) Tutorial - Part 2

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • Learn how to create an Entity Relationship Diagram with Primary Keys, Foreign Keys, and Composite Keys in this advanced ERD tutorial. We provide step-by-step training on how to identify these different keys, as well as helpful information on bridge tables, data types, and how your ER Diagram relates to a database management system.
    A Primary Key is an attribute (or field) that uniquely identifies every record in a certain table. There’s one Primary Key per entity, and they must be unique, never-changing, and never-null. You note a Primary Key in your Entity Relationship Diagram with “PK” to the left of the appropriate attribute.
    A Foreign Key is an attribute in one entity that links to the Primary Key of another entity. Consequently, they enable relationships between those entities. There can be multiple foreign keys per entity, or none at all. You note a Foreign Key in your ERD with “FK” to the left of the appropriate attributes.
    --
    00:00 Overview
    0:32 Recap from ERD Part 1
    00:51 Primary Keys
    00:56 Primary Key Examples
    1:54 Primary Key Rules
    5:43 Lucidchart
    6:06 Foreign Keys
    7:43 Foreign Key Rules
    8:20 Composite Primary Keys
    10:11 Composite Primary Key Rules
    10:46 Bridge Tables
    12:50 I've finished my ERD. Now what?
    14:19 Wrap Up
    --
    Learn more at: training.lucid.co
    Sign up for free at: www.lucid.co
    Follow us:
    Facebook: / lucidsoftware
    Twitter: / lucidsoftware
    Instagram: / lucidsoftware
    LinkedIn: / lucidsoftware
  • Наука та технологія

КОМЕНТАРІ • 89

  • @muriyadanthomson
    @muriyadanthomson 7 місяців тому +58

    Best explanation of ERDs on the internet! Thank you! 🙌

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

    The CSV to ER diagram functionality in Lucid Chart is huge! Such a simple yet useful idea.

  • @drchid
    @drchid 3 місяці тому +2

    The fact it can convert the diagram to code to create the tables! And to be able to do it in reverse from database to diagram! That is awesome and such a big time saver🙏🏾 thank you 😊

  • @simhthmss
    @simhthmss 6 місяців тому +10

    Please make more "lucid explains the internet" videos. Such as the snek and doggo videos. These are still being shared around social media to this day.

  • @timhendriks3224
    @timhendriks3224 5 місяців тому +2

    insanely good video, even helped me for my data mining course just to revisit the basics

  • @kox8088
    @kox8088 6 місяців тому +1

    what a flippin legend this guy is!!

  • @diderdubois
    @diderdubois 4 місяці тому +6

    I've worked on thousands of databases, yet I watched both parts with laser focus. The quality of this content is simply incredible. I wish I had access to that when I started out.

    • @DBSQ-wb3ht
      @DBSQ-wb3ht 3 місяці тому +1

      I'm starting out now, technically I'm making my second database, but my first only needed one table, my next one, it won't be so simple. Love youtube!

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

      @@DBSQ-wb3ht That's the way to go man, keep it up.

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

    Loved this explanation. Super clear

  • @hassanaliomurdad5779
    @hassanaliomurdad5779 4 місяці тому

    You got a new subscriber with this video. Kudos to you!

  • @akshaykhandve4297
    @akshaykhandve4297 4 місяці тому

    You save my day, thanks man 🎉

  • @mk17173n
    @mk17173n 4 місяці тому +1

    I like this guy. He explains everything really well and he is a big dude named Bear. As a fellow big dude i appreciate his name lol.

  • @Kumar-bg6nr
    @Kumar-bg6nr 23 дні тому

    thanks to my man Bear for providing us this valuable information

  • @Ethan_1422
    @Ethan_1422 6 місяців тому +4

    If you do any requests/suggestions: may I suggest more sneke videos?

  • @cryptoWorldever
    @cryptoWorldever 5 місяців тому

    what a great piece of software it is. thanks very much sir

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

    I loved this!!!

  • @adisatic
    @adisatic 5 місяців тому

    Such a boss. Great tutorial man

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

    Thanks! very clear tutorial

  • @benaya6
    @benaya6 5 місяців тому

    a great explanation, as always. one thing is missing for me - the relationship between entities(other than the quantitative you mentioned), and dependant entities and their notation. thanks alot!

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

    this is really helpful. Keep up the good work

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

    Thank you, this is great content

  • @waadturki2359
    @waadturki2359 2 місяці тому +1

    We need a 3rd part about normalization 🥹🥹

  • @GbotemiAdeoye-iw8xt
    @GbotemiAdeoye-iw8xt 21 день тому

    Love this

  • @lovetheentertainment9949
    @lovetheentertainment9949 7 місяців тому +2

    Make a full course It will be easy to follow in a structured way

  • @dcatmakas
    @dcatmakas 5 місяців тому

    thank you a lot for this perfect video..

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

    TYSM!

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

    this was really helpful thank you

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

    THANK YOU SO MUCH!
    I always used the export button in the right panel (it is much more prominent) and I found it so annoying to have to export all tables one by one.

  • @matyasblaha7302
    @matyasblaha7302 4 місяці тому

    awesome! awesome! awesome!! Thank you! :)

  • @user-iz7ej1fn9f
    @user-iz7ej1fn9f 2 місяці тому

    Thank you.

  • @user-ev3cg9yx4p
    @user-ev3cg9yx4p 6 місяців тому

    thank you!! next part 3

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

    Thank you for your explanation! how about alternate key and candidate key??

  • @SunshineBurrito
    @SunshineBurrito 6 місяців тому +2

    We need more charts!!! We miss the charts :(

  • @biomagician
    @biomagician 5 місяців тому

    Hello, and thank you for the great video! Where should I store the meaning of each column? Is it possible to add a 4th column to each table in a second toggable layer? Or should I store the column meanings in a different document in Lucidchart? Or in a different software altogether? Thanks for your insight!

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

    Bro uve explained it much better than my teacher

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

    Very good video my guy

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

    Thanks

  • @BenCorvo-iy1nc
    @BenCorvo-iy1nc Місяць тому

    that was 900 pages of book summarized, thanks a lot

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

    Thanks i just saw the lucid chart

  • @OfficialSylvantianAUTTPforces
    @OfficialSylvantianAUTTPforces 7 місяців тому +8

    Please make the internet names ads again

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

    Best animation on the topic. I will recommend it to my students in Pakistan. Can you tell me the software in which you make these animations . They are so cool.

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

    Isn't the Shipment table a bridge table too?

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

    I imported an existing SQL Server tables into the ER diagram using TSV export. CSV export is not doing the relationships, so did TSV. Great, it works!
    a) I placed each entity by clicking. Is there a way to add multiple tables at a single shot? (like ctrl select)
    b) I have over 80 tables and once placed very hard to find an entity. Is there a way to search the entity on the canvas/diagram?
    I see shapes pane and by clicking the name, it places one more entity in the canvas, which is not what I am looking for...
    c) Any techniques for senior data modelers? TIA

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

    So, could only be exported SQL database, how about no SQL database? though it's not a relationship database, however, actually ERD is convenient for get idea what the database structure.

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

    wish wgu used this software for our SQL course

  • @tranquillity5437
    @tranquillity5437 4 місяці тому

    Anyone reading this please answer, i dont have database in csv? how should i import database

  • @Emad-1st
    @Emad-1st 8 місяців тому +1

    hello , can i know where did u get the excel sheet or how do i get it

    • @KarMa-ws3ll
      @KarMa-ws3ll 7 місяців тому

      u can google free excel or csv example data

    • @Emad-1st
      @Emad-1st 7 місяців тому

      @@KarMa-ws3ll that specific one is in my lectures that is why i need it the source

  • @seobizhub9116
    @seobizhub9116 5 місяців тому

    So a ssn can be considered a primary key...

  • @smallyfry15941
    @smallyfry15941 6 місяців тому +3

    i miss those animal chart stuff...

  • @asmaal-faqueeh8353
    @asmaal-faqueeh8353 Місяць тому

    how do if it is an embedded documents.. like comment collection in post

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

    🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @jamwithjude2545
    @jamwithjude2545 18 днів тому

    I did'nt get the bridge table

  • @UzmaScholarSphere
    @UzmaScholarSphere 16 днів тому

    I am student of BSCS so, I have to make a project assignment "Design Document" on "Online mobile showroom app"
    Can any body help me to make ERD?.................I tried myself but I am confused to draw relationship between entities..

  • @pineapplepineapple4725
    @pineapplepineapple4725 7 місяців тому +4

    i miss the sneks

  • @gregsmith8977
    @gregsmith8977 4 місяці тому

    you guys should go back to your advertising from 4 years ago. it was kind of sad to discover this gem of a channel with the old ads, and then look and see that it's just a generic corporate channel now :(
    where snek?

  • @robtelford1988
    @robtelford1988 7 місяців тому +2

    I feel like I should point out that at 4:18, Customer_ID is not 'randomly assigned', it's sequentially assigned. ;-) /pedantMode

  • @nithinkrishna1183
    @nithinkrishna1183 4 місяці тому

    great explanation, I feel composite primary key concept is total waste, instead we can create a primary key and keep it very simple.

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

    Explain panda chikens

  • @AnakMarzook
    @AnakMarzook 6 місяців тому +1

    your customer to order relationship is wrong , it should be one to many

  • @JXSeaton
    @JXSeaton 5 місяців тому

    Please fix this video to include the correct relationships. order to product is a many to one relationship.

    • @JXSeaton
      @JXSeaton 5 місяців тому

      Also the customer id is auto-incrementing NOT random

  • @NoBloons
    @NoBloons 5 місяців тому +1

    I miss your funny videos.

  • @manofredearth
    @manofredearth 4 місяці тому

    So you started turning off comments? What is up with this train wreck of public engagement?

  • @Felix-Floof
    @Felix-Floof 5 місяців тому

    Someone called challenger1534 reposted your snake video.

  • @johnsonwu4745
    @johnsonwu4745 5 місяців тому

    I miss

  • @mohammednajeb3716
    @mohammednajeb3716 8 місяців тому +65

    Free Palestine 🇵🇸

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

      ???? Free Israel

    • @mohammednajeb3716
      @mohammednajeb3716 7 місяців тому +16

      @@Tocsiman free of what?!
      Israel isn't invaded so as to be freed!

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

      @@Tocsimanאני מת

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

      @@mohammednajeb3716bro all you do is bomb us and say allah Akbar

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

      @@mohammednajeb3716 need to be freed from hamas’s terror and all the other Arab countries surrounding it