select * from user_cons_columns where constraint_name = (select constraint_name from user_constraints where table_name = 'BST_FAVORITE' and constraint_type ='P');