Sorry for the newbie question. I defined the table as follows.
CREATE TABLE `class1` (
`name` varchar(20) NOT NULL,
`familyname` varchar(20) NOT NULL,
`id` int(11) DEFAULT NULL,
KEY `class1` (`name`,`familyname`));
Can you explain to me what the difference is here, I have a first and last name as a key.
I need to enter values in a table and run queries, but I can not understand what this gives me? If I do not define the first and last name as keys, I get the same results.
source
share