Contrary to popular opinion, a view isn’t something you see out of a window. Not in database terms, anyway. I’m afraid it’s much more mundane! A view in a database can be thought of as a virtual table. It allows you to view data in a particular way, by utilizing other database objects.
You may not be aware of it, but we’ve already done most of the hard work involved in creating views by understanding how to use the SELECT statement and the various joins available to us. We’ll create a couple of useful views to improve our database.
What Are Views For?
I’ve already mentioned that a view can be thought of as a virtual table. You ...