Is this a transposition
| From: | Russell Griechen | Date: | Thu, 03 Oct 2002 00:03:25 +0000 |
| Subject: | Is this a transposition | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22180@lists.php.net to get a copy of this message | ||
Are tables able to be indexed?
How should the key be applied here?
This is from Jay Greenspan's great Mysql/Php book.
I looked for error disclaimers.
I think it us just transposed ???
Is this a typo? In primary and key indexes
" key stage _user_map_key "
drop table if exists user_stage_map ;
create table user_stage_map
(
user_id integer not null,
stage_id integer not null,
primary key user_stage_map_key (user_id,stage_id
),
key stage_user_map_key (stage_id)
);
Russell Griechen