I'm trying to find out how to get the following constraint information from a table in MySQL 5.0:
- primary key
- foreign keys and table references
- unique columns
What is the syntax of the query or queries to do so? I have a feeling I'm close with this, but there is no example.