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 stored procedure would you use to view lock information?
What is multi-statement table-value user-defined function?
Can binary strings be used in arithmetical operations?
Does partitioning improve performance sql server?
What extended events?
Why do we use trigger?
What is trigger in salesforce?
When I delete any data from a table, does the sql server reduce the size of that table?
How to locate and take substrings with charindex() and substring() functions?
What is inner join? Explain with an example?
What is the largest component inside a field?
Explain filtered indexes?
How do I create a stored procedure in dbml?
If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?
What is PROJECTION Operation?