Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (119k points)

Can anyone explain the use of views in SQL?

1 Answer

0 votes
by (55.6k points)

The view is a virtual table based on the result of the SELECT statement. Views are used to limit the visibility of data of the table to just those specific tasks. Also, the view is used for combining the data from multiple tables into a logical table. Views can be used to aggregate rows (using GROUP BY and HAVING) of a table with better detail. The view is used to summarize the data from multiple tables so that views can be used to generate reports.  

If you are interested in SQL, then register for this SQL Course by Intellipaat that offers instructor-led training, certification, and job assistance.

Related questions

0 votes
1 answer
asked Aug 16, 2020 in SQL by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer
asked Dec 23, 2019 in SQL by anmolj (9k points)
0 votes
1 answer

Browse Categories

...