Views
Upcoming SlideShare
Loading in...5
×
 

 

Statistics

Views

Total Views
390
Views on SlideShare
364
Embed Views
26

Actions

Likes
0
Downloads
6
Comments
0

2 Embeds 26

http://rriness.spscc.edu 19
http://www.slideshare.net 7

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Views Views Presentation Transcript

    • Views CIS-182
    • Views • Similar to an Access query – Predefined SELECT statement – At most basic level specifies which columns and rows to return • Provides a “virtual table” – Reference in same way as a table: SELECT * FROM Customers_V
    • Reducing Complexity • Provide access to data from multiple tables – Normalization doesn’t get in the way • Limit number of columns returned – Instead of returning all columns just return ones commonly used
    • Ease of Use • Can provide access to current information – List only students who are currently enrolled in a course • Can organize data for common reports – List students with assignments for a section
    • Hiding Data • Provide only columns that are appropriate • Provide only rows that are appropriate • Can have multiple views on one table with different fields and criteria for different user groups • Can also hide table organization
    • Syntax CREATE VIEW viewname <column list> <options> AS SELECT statement