Computer Science, asked by adityashoukhanda, 1 month ago

create a table using proper procedure and using different views​

Answers

Answered by islamjaha949
2

Answer:

Introduction

In this article, we are going to see how to use the CREATE VIEW SQL statement to create a view. This is the first article in a series that will be a programmatical approach of creating, altering and working with views using T-SQL. If you are a beginner and you don’t even know what a view is, don’t worry. We will kick off with a definition, and then move on to some basics like syntax, examples, use cases, etc.

A view is simply a virtual table. Think of it as just a query that is stored on SQL Server and when used by a user, it will look and act just like a table but it’s not. It is a view and does not have a definition or structure of a table. Its definition and structure is simply a query that, under the hood, can access many tables or a part of a table.

Views can be used for a few reasons. Some of the main reasons are as follows:

To simplify database structure to the individuals using it

As a security mechanism to DBAs for allowing users to access data without granting them permissions to directly access the underlying base tables

To provide backward compatibility to applications that are using our database

Similar questions