Sql Function Example – Query Examples