From: Martijn Tonies Date: August 1 2008 2:28pm Subject: Re: Table aliasing List-Archive: http://lists.mysql.com/mysql/213959 Message-Id: <01ce01c8f3e2$ebbd7680$9902a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit >I think what you want is "CREATE VIEW test.v AS SELECT * FROM t;" > >http://dev.mysql.com/doc/refman/5.0/en/create-view.html Good one Ed, simple views are updateable, so that would work for DML as well. Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle & MS SQL Server Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.com