CREATE VIEW v_NoteDetail
AS
SELECT	N.*
		,U.userDisplay addUser
		,U2.userDisplay editUser
FROM	pal_Note N
		JOIN v_UserShared U
			ON U.recId = N.userIdSaved		
		LEFT JOIN v_UserShared U2
			ON U2.recId = N.userIdUpdated