how we can use more then one primary key in Single Table
Answer Posted / sharad
CREATE TABLE Test (id1 INT ,id2 INT , name CHAR(20) NOT
NULL, PRIMARY KEY(id1,id2));
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What causes mysql too many connections?
What is mysql server used for?
What is a simple query?
What mysql means?
How can you retrieve a particular number of records from a table?
Is postgresql better than mysql?
Where is the myisam table stored?
What is ntext?
Can varchar be primary key?
What are the drivers in MySQL?
Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the total number of sold products
Is mysql connect deprecated?
What are date and time functions in mysql?
What can you do with mysql?
How can you filter the duplicate data while retrieving records from the table?