This question says it all. Which one is faster? And when should we use a view instead of a subquery and vice versa, when it comes to speed optimization?
I don't have a specific situation, but I was thinking about it while trying to try some things with views in mysql.
source
share