From memory, I believe there's an "SQL" tab in phpMyAdmin where you can run SQL queries on an existing database, so you copy the code there and run it.