How can I update (or edit) a View in MySQL database using phpMyAdmin.
I got a view that's made of columns from two tables - I added a new column to one of these, but the view doesn't have it. I can't find the MySQL query I used to get this view (it's quite obscure one) - so how can I edit the MySQL query that created this view to add a new column into it?
How about using (Your view is called viewname)
SHOW CREATE VIEW viewname
to get the SQL for the view as it is DROP VIEW viewname
to remove the viewThat would create the view with the additional column(s)
http://dev.mysql.com/doc/refman/5.0/en/show-create-view.html