O'Reilly logo

Introducing SQL Server by Mike McQuillan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

image

Views

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required