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


Please Help Members By Posting Answers For Below Questions

What is sql server query analyzer?

503


What is report snapshot in ssrs?

160


Explain full-text query in sql server?

530


Can You Use Data Mining Models In Ssrs?

97


What type of locking occurs during the snapshot generation? : sql server replication

862






What is database mirroring?

561


What are the types of indexes?

586


What is the difference between a fill factor of 100 and 0?

524


What does it mean to be in union?

512


What are the restraints imposed on the table design by a merge replication?

562


What are the differences between ms sql server & oracle?

515


What are the differences between char and nchar in ms sql server?

535


What stored procedure can you use to display the current processes?

490


how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

1212


What are sparse columns?

583