Quote:
|
Originally Posted by r937
what does "it works like there are set as two different keys and not like one" mean?
can you show the CREATE TABLE statement?
|
The problem solved by itself. Thank you very much. the table was
CREATE TABLE `price` (
`barcode` smallint(15) NOT NULL default '0',
`shop_id` smallint(6) NOT NULL default '0',
`price` double(15,2) default NULL,
PRIMARY KEY (`barcode`,`shop_id`)
) TYPE=MyISAM