Re: database question
| From: | Jesper Juhl | Date: | Wed, 06 Sep 2000 19:48:28 +0000 |
| Subject: | Re: database question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15584@lists.php.net to get a copy of this message | ||
joe@jWebMedia.com wrote:
>
>
> http://www.mysql.com/documentation/mysql/bychapter/manual_Compatibility.html#Missing_SELECT_INTO_TABLE
>
> Select into table isn't supported in mysql, however, there are ways
> aroud it. Check the link, it gives a few options.
>
> Joe
Although "SELECT INTO TABLE" is not supported you can still use "INSERT
INTO SELECT".
The syntax is:
INSERT [LOW_PRIORITY | DELAYED] [IGNORE] [INTO] tbl_name
[(col_name,...)] SELECT ...
Look here for details:
http://www.mysql.com/documentation/mysql/commented/manual.php?section=INSERT
- Jesper Juhl
juhl@eisenstein.dk