$ 0 0 ReplacingCode: [Select]WHEREwithCode: [Select]$RESTRICTEDWHEREshould fix the permission issue.You maybe have to change the alias of the albums table to "r" instead of "a" if an SQL issue occurs.