select `a_count` from crm.`customer` where id in (782735,783338,778571)
查出来的结果是按id大小排序的:是
778571
782735
783338
如果想要直接出来id和查出来的值是对应的,可以这样查:
select id,`a_count` from crm.`customer` where id in (782735,783338,778571)
select `a_count` from crm.`customer` where id in (782735,783338,778571)
查出来的结果是按id大小排序的:是
778571
782735
783338
如果想要直接出来id和查出来的值是对应的,可以这样查:
select id,`a_count` from crm.`customer` where id in (782735,783338,778571)