SQL--concat函数

时间:2016-08-19 11:24:05   收藏:0   阅读:934

concat函数是用来起连接作用的,如SELECT CONCAT(‘My‘, ‘S‘, ‘QL‘);执行结果是‘MySQL‘

此查询uid=-1 union select username ,concat(password,0×3a,sex,0×3a,address,0×3a,telephone) ,content from 表名 where 条件实际查询了6个字段。

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!