I was wondering can some give me an explanation on how to assign primary and foreign keys in pgAdmin?
I can't find any information online.
For example...I've got a Student table with all their details (address, d.o.b. and etc.). I'm going to add a student_number to the table and make it a primary key.
I just want to know how do I do that using pgAdmin? And if you may be kind to explain give me further information on using Primary Keys in postgreSQL (and pgAdmin). The same case with the foreign keys.
Yes, there is a way to add Primary & Foreign Keys in pgAdmin.
Tested in pgAdmin III Ver.1.16.1 (Windows 7)
And you are all set.
You can fill more things if you want, but now you know how to get there.