Function LOGGEDINUSER

Returns id of a current logged in user which is you (smile).Function does not take any parameters.

Examples

Issues reported by myself
SELECT * FROM ISSUES WHERE REPORTER = AUX.LOGGEDINUSER()