小编CHO*_*Tik的帖子

select with MD5 + CONCAT using where

Where problem ? select work fine.. when check in where - give error Unknown column 'confirm' in 'where clause'

 SELECT 
    users_id, MD5(CONCAT(users_pass, users_email)) AS confirm
FROM
    (users_items) 
WHERE users_active = 0 
    AND confirm = '39a5eccb97f63a2bb649ddd95c5a3ba7' 
LIMIT 1 
Run Code Online (Sandbox Code Playgroud)

mysql md5 concat

1
推荐指数
1
解决办法
7385
查看次数

标签 统计

concat ×1

md5 ×1

mysql ×1