Art,
Friday, September 20, 2002, 3:48:06 AM, you wrote:

AF> Since MySQL does not have views or queries that can be within the database,
AF> is there a way to make tables which are subtables of the main table? For
AF> example, I have an ID that goes from 0010-10010 to 7000-9999. I want a table
AF> that will show only those items with LIKE '0080-%'.

You can use CREATE .. SELECT or INSERT .. SELECT statements:
    http://www.mysql.com/doc/en/CREATE_TABLE.html
    http://www.mysql.com/doc/en/INSERT_SELECT.html

AF> This table should be updated automatically when the main table is updated.

    ON CASCADE UPDATE is not supported yet.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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