I can not find this any where (I am probably not asking the right questions). Would someone please point me in the right direction.
I am using a 2 column composite primary key in MySQL. I would like to display that value as a default value in a 3rd column in the same table and in another table.
Col_1 value = ABC,
Col_2 value = 123,
PK = ABC123,
Col_3 default value = ABC123
Would anyone be able to explain how to do this?
I would prefer not to do this with a trigger or an insert statement if possible.
Thanks,
Ted