Database Fundamentals/Functions

< Database Fundamentals

This lesson introduces functions.

Objectives and Skills

Objectives and skills for the functions portion of Microsoft Exam 98-364 Database Fundamentals include:[1]

Readings

  1. Read Wikipedia: Function (computer science).

Multimedia

  1. Watch Microsoft Virtual Academy: Creating Databases and Database Objects.
  2. Watch YouTube: SQL Functions.

Activities

  1. Use SQL Server to create built-in functions to calculate data in the Student table in your College database.
  2. Create the following built-in functions:
    • Apply the AVG function in a query to display the average number of course credit hours in the Course table.
    • Apply the MAX function in a query to display the maximum number of course credit hours in the Course table.
    • Apply the SUM function in a query to display the total number of course credit hours in the Course table.

Lesson Summary

Key Terms

function

See Also

References

This article is issued from Wikiversity - version of the Thursday, March 10, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.