how to declare unique key in creating a table..?
Answers were Sorted based on User's Feedback
Answer / chandu
create table sales(prodid INT NOT NULL UNIQUE
QUANTITY INT);
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / pankaj
When we declare a primary key its a unique key. for that table.
Is This Answer Correct ? | 0 Yes | 1 No |
What is row level locking?
In which language mysql has been written?
How to see table's field formats or description of table .
How to dump one database for backup.
What do you understand by mysql terminal?
What is limit in mysql?
How to write date and time literals?
What is DCL in MySQL?
How do I install the latest mysql on ubuntu?
How do I tune a mysql query?
How do I stop a mysql service?
What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?