Query error: -> select psanew from artps as p where p.psecod = 'MGM050817'