Field/Key Concatenation
Hello,
Im requiring help on an database i am trying to create. I am making a database on universities in the area and the courses they offer.
Heres my problem, id like to make a primary key for a course offered(for example) 123456. Id like this primary key to be a concatenation for the information of the course. For example: 123456 would give the information for that course. So, '12' would be the university code (which would give the university name, eg, '12' = University of Sydney), '34' would be the faculty code (which would give the faculty name, eg, '34' = Business) and '56' would be the course code (which would give the course name, eg, '56' = Bachelor in Economics).
I would like the '123456' to be the unique course code, which in itself would give its own information.
Im not sure if im being clear in my problem and what i would like, if you have questions, be sure to ask.
Thank you in advance.
Patricio
|