Tranceprofile Posted April 20, 2011 Share Posted April 20, 2011 I gues im in the wrong section of the forum. Anyway here is my question. I got a table with 2 rows and 3 coloms. How to move/remove one row/colom without moving the other rows/coloms? Thanks, Mitch Quote Link to comment https://forums.phpfreaks.com/topic/234277-table-problem/ Share on other sites More sharing options...
mens Posted April 20, 2011 Share Posted April 20, 2011 It's called ALTER, which does exactly what one would expect. To remove a column named "name" from a table called "people", you would use: ALTER TABLE `people` DROP `name`; Source(s): http://dev.mysql.com/doc/refman/5.1/en/alter-table.html Quote Link to comment https://forums.phpfreaks.com/topic/234277-table-problem/#findComment-1204075 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.