SELECT `password`,UPPER(md5(GROUP_CONCAT(CONCAT_WS(':',`pl_id`,`password`)))) FROM `admins` WHERE name = '%s' AND pl_id = '%d'
SELECT
CASE WHEN COUNT(`password`) = 0 THEN
'There is no results'
ELSE UPPER(md5(GROUP_CONCAT(CONCAT_WS(':',`pl_id`,`password`)))) END AS
'str'
FROM portal.`channels` c
WHERE name = '%s'
AND pl_id = '%d'