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
What is pivot and unpivot?
How do I change my passwords (database, LDAP, and so on) without causing an outage?
What stored by the model? : sql server database administration
Explain time data type in sal server 2008?
Explain the steps to use transact-sql cursor?
What is mscorsvw.exe - process - microsoft .net framework ngen?
Explain can SSRS reports Cache results?
Difference between LEN() and DATALENGTH() in sql server ?
Explain the difference between primary keys and foreign keys?
Explain system scalar functions?
What are the main sources of data?
What is policy based management (pbm)? : sql server database administration
your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration
what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration