+ 1

Why ID

In this example wouldn't the phone numbers be enough to differentiate the different people, as the numbers can't be the same? I'm guessing that it's always convenient to have the ID but, is it necessary?

17th Jun 2018, 1:41 PM
Magnitopic
Magnitopic - avatar
2 Answers
+ 2
where is your example? okay, by my understanding, Phone numbers will be unique, but not in sorted order, if you used id, then it will automatically incremented, eg:- if you want to do something with first ten entries, then you can't do it by phone numbers, but it can be done if there is ID Also, if in any company, phone numbers maybe same for both guys like husband and wife if there is only one phone in their house, so if there is ID they will be differentiated!! These are my experiences, while I worked with SQL
17th Jun 2018, 1:52 PM
Hemath Kumar
Hemath Kumar - avatar
+ 1
Thanks very much. My example is in 'Introduction to Databases' the third explanation.
17th Jun 2018, 2:05 PM
Magnitopic
Magnitopic - avatar