6
这是我的SQL查询: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......
帮助表示赞赏,谢谢。
+1更容易产生比我的答案:) – Andomar
巨大的我从来不知道,我们可以安排这样的感谢 –
尼斯,了解到项目新鲜玩意 :) –