thanks,
that did the trick just fine.

shon

----- Original Message -----
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "'Shon Stephens'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 11:55 AM
Subject: RE: what type of key is this?


> It's created when that field is the first field in a multi-field index.
>
> For example:
>
> mysql> describe mytable;
> +-------+---------+------+-----+---------+-------+
> | Field | Type    | Null | Key | Default | Extra |
> +-------+---------+------+-----+---------+-------+
> | id    | int(11) | YES  |     | NULL    |       |
> | val   | char(5) | YES  |     | NULL    |       |
> +-------+---------+------+-----+---------+-------+
> 2 rows in set (0.38 sec)
>
> mysql> alter table mytable add index qq(id,val);
>
> mysql> describe mytable;
> +-------+---------+------+-----+---------+-------+
> | Field | Type    | Null | Key | Default | Extra |
> +-------+---------+------+-----+---------+-------+
> | id    | int(11) | YES  | MUL | NULL    |       |
> | val   | char(5) | YES  |     | NULL    |       |
> +-------+---------+------+-----+---------+-------+
> 2 rows in set (0.00 sec)
>
> -----Original Message-----
> From: Shon Stephens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 10:24 AM
> To: [EMAIL PROTECTED]
> Subject: what type of key is this?
>
>
> i have been asked to create an sql table with a certain structure. i was
> sent a
> description of the table. the first column is desribed as having a "MUL"
> key. i don't now what that is or how to create it. can someone please
help.
>
> thanks,
> shon
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to