Saturday, August 1, 2015

SQL tutorial - lesson 14 - First function

If you wanted to get the first value of the selected column then you use first () function.

syntax:

select first(emp name) as emp first name from empl;

when you run the above statement sql will return the first name of the emp table.

No comments:

Post a Comment