SQL
Can a Prim ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Can a Primary key serve as a Foreign key at the same time?
Yes
No
Explanation
Generally speaking yes - Primary key can serve as a Foreign key at the same time. But it will work only for cases when tables are connected using a one-to-one relationship.
primary-key
foreign-key
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
S
QL
Quiz
Login to learn SQL
or
Read more about
SQL Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment