I\'m looking for a way to list all views in a database.
Initially I found and tried an answer on the MySQL forums:
SELECT table_name FROM information
This will work.
USE INFORMATION_SCHEMA; SELECT TABLE_SCHEMA, TABLE_NAME FROM information_schema.tables WHERE TABLE_TYPE LIKE 'VIEW';