Setting up a query

Typically, you can use functions in a select list, a where clause, and anywhere an expression is allowed. The general syntax is:

select function_name[(arguments)]

For example, to find the identification number of the user who logs in as “emilya,” enter:

select user_id("emilya")

The server returns:

------------------
				1209