Using user-defined functions (UDF)
The SELECT command can be used to retrieve data from a table while applying a user-defined function (UDF) to it.
-
Use the user-defined function (UDF) fLog() created previously to retrieve data from a table cycling.cyclist_points.
SELECT id, lastname, fLog(race_points) FROM cycling.cyclist_points;