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 |
How do I enable mysqli extension?
Explain data type TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP .
How do you know if your mysql server is alive?
What is the usage of regular expressions in mysql?
How do I grant privileges to a user in mysql phpmyadmin?
What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?
What is deterministic in mysql?
What is mysql server used for?
Explain GRANT command in MySQL.
Explain the different types of mysql joins.
How to allow the user "sonia" to connect to the server from localhost using the password "passwd". Login as root. Switch to the mysql db. Give privs. Update privs.
Can I use mysql for free?