Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
A beginners guide to writing SQL Functions
Rating: 4.1 out of 5(20 ratings)
1,854 students

A beginners guide to writing SQL Functions

Learn how to write various types of SQL functions to perform several tasks
Last updated 3/2026
English
English [Auto],

What you'll learn

  • Develop your creative and SQL skills to write useful functions to perform various tasks
  • Write Aggregate functions to compute a single value
  • Write single row functions
  • Write Analytic functions that use aggregate functions
  • Write functions to performing calculations on data.

Course content

5 sections33 lectures2h 43m total length
  • Introduction2:26
  • Download Oracle Database4:58
  • Installing Oracle Database4:47
  • Add Sample Schema and Tables5:09
  • Download TOAD3:36
  • Install TOAD4:08
  • Connect TOAD to Oracle Database5:21
  • Explore TOAD and it's editor5:41

Requirements

  • You should have a basic understanding of Relational Databases like Oracle,SQL Server
  • You should have a basic understanding SQL
  • You should have a database setup ( We'll cover how to download and install Oracle)
  • You should have a database connection ( We'll cover how to download and TOAD)

Description

SQL has many built-in functions  .In this course we will be learning about the SQL functions built in into Oracle Database that are available for use in various appropriate SQL statements. There are various types of SQL functions used to perform calculations on data and manipulate other aspects of data within the database.

Understanding SQL functions will help improve your skills and make your work much easier as a database professional. In this course we will be learning about the following types of SQL functions:

Aggregate  Functions
Aggregate functions return a single result row based on groups of rows, rather than on single rows. Aggregate functions can appear in select lists and in ORDER BY and HAVING clauses. They are commonly used with the GROUP BY clause in a SELECT statement, where Oracle Database divides the rows of a queried table or view into groups. In a query containing a GROUP BY clause, the elements of the select list can be aggregate functions, GROUP BY expressions, constants, or expressions involving one of these. Oracle applies the aggregate functions to each group of rows and returns a single result row for each group.

Single Row Functions:
Single-row functions return a single result row for  every row of a queried table or view. These functions  can appear in select lists, WHERE clauses, START WITH and CONNECT BY clauses, and HAVING clauses.

Numeric Functions
Numeric functions accept numeric input and return numeric values. Most numeric functions that return NUMBER values that are accurate to 38 decimal digits

conversion functions 
convert a value from one datatype to another.

Analytic Functions
Analytic functions are commonly used to compute cumulative, moving, centered, and reporting aggregates.
Analytic functions compute an aggregate value based on a group of rows. They differ from aggregate functions in that they return multiple rows for each group.

Who this course is for:

  • This course is for app developers who want to acquire some SQL skills
  • This course is for aspiring database administrator who want to acquire some SQL skills
  • This course is for data analyst who want to acquire some SQL skills
  • This course is for aspiring data warehouse professionals who want to acquire some SQL skills
  • This course is for aspiring programmers who want to acquire some SQL skills