+ 1

Is the name in sql the same of id ?

answer

10th May 2017, 6:46 PM
Salah Ayoob
Salah Ayoob - avatar
2 odpowiedzi
+ 1
i really dont understand the question. but as far as i know id has to be unique so in most cases, if not all cases, they are the PK name can be unique to some extent, but there is a possibility of more than two people having the same name, so it will not be a PK or even FK
10th May 2017, 11:35 PM
Krishneel Nair
Krishneel Nair - avatar
0
You can give any name as per your preference. Be it id or <something >id for the columns
10th May 2017, 7:02 PM
Nilesh
Nilesh - avatar