see sql statement in view mysql code example Example: how to see the query of a view in mysql SHOW FULL TABLES IN sys WHERE table_type='VIEW';