这是我的 SQL 查询:
select name,description
from wp_widget_custom
where name in ('hemel-hempstead','maidenhead',
'guildford','bromley','east-london','hertfordshire','billericay','surrey')
我得到的结果是这种形式:
name description
hemel-hempstead Loreum ipsim
east-london Loreum ipsim
bromley Loreum ipsim BROMLEY
billericay Loreum ipsim
maidenhead Loreum ipsim maidenhead
hertfordshire Loreum ipsim HERTFORDSHIRE
guildford loreum ipsum Guildford
surrey loreum ipsum surrey
我希望按照在查询中传递的方式排列结果:
hemel-hempstead ,maidenhead',guildford,bromley,east-london......
感谢您的帮助,谢谢。