W wanglong Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-18 #1 表1: id 姓名 权限 1 刘德华 AA01 2 张学友 AA0102 菜鸟想求出权限字段里的值长度最大的记录,怎么求呢??
P py6530 Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-18 #2 select * from 表1 where len(权限)=sekect max(len(权限)) as n from 表1
李 李翔鹏 Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-18 #3 select * from 表1 where len(权限)=sekect max(len(权限)) as n from 表1
D dean_2008 Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-18 #4 select * from 表1 where len(权限)=(select max(len(权限)) as n from 表1)