From: Martijn Tonies Date: August 16 2007 6:21am Subject: Re: Recreate Table With Sorted Data List-Archive: http://lists.mysql.com/mysql/208601 Message-Id: <006601c7dfcd$a9ba0a20$9902a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit John, > The solution was CREATE TABLE copyname SELECT * FROM originalname > > I was having problem with a PHP command that's not pulling what I want > from the table Ruling out random order for the rows was narrowing the > focus on the PHP problem. Have you not been reading what everyone said? Tables ARE NOT ORDERED. To get data in a certain order, you need to order your result-set, by doing an ORDER BY on your query. 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