% doesn't work here, the sql where will be ```userid = '%'``` with this