No video

Entity Relationship Diagram (ERD) Tutorial - Part 2

  Рет қаралды 109,626

Lucid Software

Lucid Software

Күн бұрын

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

Пікірлер: 93
@muriyadanthomson
@muriyadanthomson 8 ай бұрын
Best explanation of ERDs on the internet! Thank you! 🙌
@rishitratan8460
@rishitratan8460 8 ай бұрын
The CSV to ER diagram functionality in Lucid Chart is huge! Such a simple yet useful idea.
@drchid
@drchid 4 ай бұрын
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 7 ай бұрын
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 6 ай бұрын
insanely good video, even helped me for my data mining course just to revisit the basics
@diderdubois
@diderdubois 5 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@DBSQ-wb3ht That's the way to go man, keep it up.
@kox8088
@kox8088 7 ай бұрын
what a flippin legend this guy is!!
@benaya6
@benaya6 6 ай бұрын
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!
@popspie
@popspie 8 ай бұрын
Loved this explanation. Super clear
@hassanaliomurdad5779
@hassanaliomurdad5779 5 ай бұрын
You got a new subscriber with this video. Kudos to you!
@lovetheentertainment9949
@lovetheentertainment9949 8 ай бұрын
Make a full course It will be easy to follow in a structured way
@mk17173n
@mk17173n 5 ай бұрын
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.
@DeKiesel
@DeKiesel 8 ай бұрын
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.
@cryptoWorldever
@cryptoWorldever 5 ай бұрын
what a great piece of software it is. thanks very much sir
@enockrotich4270
@enockrotich4270 2 ай бұрын
this is really helpful. Keep up the good work
@akshaykhandve4297
@akshaykhandve4297 5 ай бұрын
You save my day, thanks man 🎉
@SunshineBurrito
@SunshineBurrito 7 ай бұрын
We need more charts!!! We miss the charts :(
@adrianCoding
@adrianCoding 4 ай бұрын
Thanks! very clear tutorial
@adisatic
@adisatic 6 ай бұрын
Such a boss. Great tutorial man
@ericrobbins6953
@ericrobbins6953 4 ай бұрын
Thank you, this is great content
@safiharisna8824
@safiharisna8824 8 ай бұрын
Thank you for your explanation! how about alternate key and candidate key??
@dcatmakas
@dcatmakas 6 ай бұрын
thank you a lot for this perfect video..
@escobol
@escobol 4 ай бұрын
this was really helpful thank you
@GbotemiAdeoye-iw8xt
@GbotemiAdeoye-iw8xt Ай бұрын
Love this
@camilotello3296
@camilotello3296 2 ай бұрын
I loved this!!!
@user-ev3cg9yx4p
@user-ev3cg9yx4p 7 ай бұрын
thank you!! next part 3
@mohammadalwahsh8449
@mohammadalwahsh8449 9 ай бұрын
TYSM!
@user-iz7ej1fn9f
@user-iz7ej1fn9f 3 ай бұрын
Thank you.
@tamimnorani
@tamimnorani 4 ай бұрын
Very good video my guy
@wew7930
@wew7930 8 ай бұрын
Bro uve explained it much better than my teacher
@necipoksuz9997
@necipoksuz9997 2 ай бұрын
Thanks
@StudywithmeinPakistan
@StudywithmeinPakistan 3 ай бұрын
Thanks i just saw the lucid chart
@matyasblaha7302
@matyasblaha7302 5 ай бұрын
awesome! awesome! awesome!! Thank you! :)
@Ethan_1422
@Ethan_1422 7 ай бұрын
If you do any requests/suggestions: may I suggest more sneke videos?
@biomagician
@biomagician 6 ай бұрын
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!
@waadturki2359
@waadturki2359 3 ай бұрын
We need a 3rd part about normalization 🥹🥹
@OfficialSylvantis
@OfficialSylvantis 8 ай бұрын
Please make the internet names ads again
@StudywithmeinPakistan
@StudywithmeinPakistan 3 ай бұрын
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.
@vansree
@vansree 8 ай бұрын
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
@jacobluttrull1470
@jacobluttrull1470 2 ай бұрын
wish wgu used this software for our SQL course
@BenCorvo-iy1nc
@BenCorvo-iy1nc 2 ай бұрын
that was 900 pages of book summarized, thanks a lot
@ryndm
@ryndm 8 ай бұрын
Isn't the Shipment table a bridge table too?
@angelowu4230
@angelowu4230 2 күн бұрын
We still need a bridge table for order and product, right?
@havefun5519
@havefun5519 3 ай бұрын
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.
@codebymoonlight
@codebymoonlight 10 күн бұрын
Which tool is he using
@Kumar-bg6nr
@Kumar-bg6nr Ай бұрын
thanks to my man Bear for providing us this valuable information
@tranquillity5437
@tranquillity5437 5 ай бұрын
Anyone reading this please answer, i dont have database in csv? how should i import database
@Emad-1st
@Emad-1st 9 ай бұрын
hello , can i know where did u get the excel sheet or how do i get it
@KarMa-ws3ll
@KarMa-ws3ll 8 ай бұрын
u can google free excel or csv example data
@Emad-1st
@Emad-1st 8 ай бұрын
@@KarMa-ws3ll that specific one is in my lectures that is why i need it the source
@seobizhub9116
@seobizhub9116 6 ай бұрын
So a ssn can be considered a primary key...
@lausmaja
@lausmaja 28 күн бұрын
Is there any example of that csv file structure? I dont want to install DB in order to be able to import structure to Lucid. I have prepared the structures in excel. Why is it not possible just simly CTRL+C in my excel and CTRL+V in the entity from ERD in lucid... Can I do that? If not why? Is there some detailed guíde how to import structures to ERD in Lucid, because I can not find any...
@asmaal-faqueeh8353
@asmaal-faqueeh8353 2 ай бұрын
how do if it is an embedded documents.. like comment collection in post
@UzmaScholarSphere
@UzmaScholarSphere Ай бұрын
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..
@OSMRDucksLIB
@OSMRDucksLIB 7 ай бұрын
Explain panda chikens
@IceTeaCrackHead
@IceTeaCrackHead 3 ай бұрын
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@jamwithjude2545
@jamwithjude2545 Ай бұрын
I did'nt get the bridge table
@smallyfry15941
@smallyfry15941 7 ай бұрын
i miss those animal chart stuff...
@nithinkrishna1183
@nithinkrishna1183 5 ай бұрын
great explanation, I feel composite primary key concept is total waste, instead we can create a primary key and keep it very simple.
@pineapplepineapple4725
@pineapplepineapple4725 8 ай бұрын
i miss the sneks
@gregsmith8977
@gregsmith8977 5 ай бұрын
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 8 ай бұрын
I feel like I should point out that at 4:18, Customer_ID is not 'randomly assigned', it's sequentially assigned. ;-) /pedantMode
@AnakMarzook
@AnakMarzook 7 ай бұрын
your customer to order relationship is wrong , it should be one to many
@ntiuakiatoa7667
@ntiuakiatoa7667 3 ай бұрын
Why is that?
@rahuliron1635
@rahuliron1635 26 күн бұрын
When you sign up for door dash you will be a customer for them but you haven't ordered anything from doordash so you have zero orders whereas your friend may have ordered 5 orders so 0 to many is possible it depends on business requirement
@JXSeaton
@JXSeaton 6 ай бұрын
Please fix this video to include the correct relationships. order to product is a many to one relationship.
@JXSeaton
@JXSeaton 6 ай бұрын
Also the customer id is auto-incrementing NOT random
@Felix-Floof
@Felix-Floof 6 ай бұрын
Someone called challenger1534 reposted your snake video.
@manofredearth
@manofredearth 5 ай бұрын
So you started turning off comments? What is up with this train wreck of public engagement?
@NoBloons
@NoBloons 6 ай бұрын
I miss your funny videos.
@johnsonwu4745
@johnsonwu4745 6 ай бұрын
I miss
@mohammednajeb3716
@mohammednajeb3716 9 ай бұрын
Free Palestine 🇵🇸
@Tocsiman
@Tocsiman 8 ай бұрын
???? Free Israel
@mohammednajeb3716
@mohammednajeb3716 8 ай бұрын
@@Tocsiman free of what?! Israel isn't invaded so as to be freed!
@agamixx637
@agamixx637 8 ай бұрын
@@Tocsimanאני מת
@agamixx637
@agamixx637 8 ай бұрын
@@mohammednajeb3716bro all you do is bomb us and say allah Akbar
@Tocsiman
@Tocsiman 8 ай бұрын
@@mohammednajeb3716 need to be freed from hamas’s terror and all the other Arab countries surrounding it
Entity Relationship Diagram (ERD) Tutorial - Part 1
6:10
Lucid Software
Рет қаралды 362 М.
UML class diagrams
12:24
Lucid Software
Рет қаралды 396 М.
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 46 МЛН
UNO!
00:18
БРУНО
Рет қаралды 3,7 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 37 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 819 М.
Gitlab DELETING Production Databases | Prime Reacts
17:27
ThePrimeTime
Рет қаралды 319 М.
Primary & Foreign Keys
8:25
Eddie Woo
Рет қаралды 474 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 1,8 МЛН
ERDs in Lucidchart
10:01
Lucid Software
Рет қаралды 31 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН