Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can a table have two primary keys?

Answer Posted / antonis flangofas

ofc you can, stop giving to ppl wrong answers here it is

CREATE TABLE track(
album CHAR(10),
disk INTEGER,
posn INTEGER,
song VARCHAR(255),
PRIMARY KEY (album, disk, posn)
)

if you want to avoid to have id you use this way.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is coalesce sql?

977


Can %notfound return null after a fetch?

1040


Which nosql database is best?

965


Can we call stored procedure in function?

939


How do I count records in sql?

980


What is the difference among union, minus and intersect?

983


What is the plv (pl/vision) package offers?

1030


What is parallel hint?

1302


what is the difference between inner and outer join? Explain with example. : Sql dba

1013


How can you view the errors encountered in a trigger?

946


What is informix sql?

963


What are inner outer left and right joins in sql?

998


How many tables can a sql database have?

959


How do you define a foreign key?

981


Can we insert data into materialized view?

931