view constraints in mysql workbench code example
Example: mysql find db contarint
select *
from information_schema.key_column_usage
where constraint_name='[CONSTRAINT_NAME]'
select *
from information_schema.key_column_usage
where constraint_name='[CONSTRAINT_NAME]'