On 18 Nov 2002, at 12:03, Adam Nelson wrote:
> insert group_map (user_id,group_id) select user_id,"6" as any_label from
> user
There's no need for any_label in that query, since you're not using
it for anything:
INSERT group_map (user_id, group_id)
SELECT user_id, 6 FROM user;
--
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org
---------------------------------------------------------------------
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