> It is called Index. And I was talking about mysql ando not sql.
If it's a simple index then it has no influence on table constraints.
And MySQL is SQL database engine, so you are talking about SQL.
Read about SQL table constraints. MySQL is quite close to SQL
standards so you might look at MySQL manuals and/or tutorials but
also at general SQL manuals / tutorials.