I know what's the difference between unique and primary key as explained in following links
http://sqlhints.com/2013/06/02/difference-between-primary-key-and-unique-key-in-sql-server/ difference between primary key and unique key
but I was asked something different in an interview ,
If I have 2 columns in a table which can uniquely identify entries , say student's roll no and national id no. Then which one I'll select as primary key and what's the difference between primary and unique key if we add not null constraint on unique key.
Any help regarding this?
Thanks in advance.