Answer the question
In order to leave comments, you need to log in
Types of keys in databases?
Task: you need to structurally separate all the entities of the database and understand who is responsible for what.
I'm trying to figure out the structure of keys (types), indexes, relationships, but so far the confusion is in my head.
I use DataGrip, DBViewer, dock and sql queries:
1) There is no structuring in DataGrip, only icons. It is clear from them where the key is, where the index is
Answer the question
In order to leave comments, you need to log in
how to break it all down into specific entities?
What is the common name for indexes or keys?
ForeignKey is also an index/key?
What is the difference between ForeignKey and Reference?
FOREIGN KEY (ColumnName) REFERENCES TableName(ColumnName)
Is the unique index a separate index or just a unique flag to a normal index?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question