请教查询单个用户的所有信息的SQL语句如何写

请问查询单个用户的所有信息的SQL语句怎么写?如题[解决办法]select * from userinfo where username nam

请问查询单个用户的所有信息的SQL语句怎么写?
如题

[解决办法]
select * from userinfo where username= "name "