is there more the two primary key in a single table?
Answer Posted / abhishek chakraborty
Yes
In Mysql
CREATE TABLE `rooms2hire`.`user data` (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`email` VARCHAR( 255 ) NOT NULL ,
`name` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( `id` , `email` )
) ENGINE = MYISAM
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can you explain different types of joins?
What is unpivot?
What are the different types of lock modes in sql server 2000?
In which tcp/ip port does sql server run? Can it be changed?
Can we use where clause with group by?
How do indexes help, types?
What is resource governor in sql server?
Why is sql server log file full?
Explain the difference between function and stored procedure?
What is deploy, process and build? : sql server analysis services, ssas
Can we write a distributed query and get some data which is located on other server and oracle database?
Is it possible in sql table to have more than one foreign key?
Mention the different types of replication in sql server.
Can foreign key be duplicate?
What is a functions and types in sql server?