表A:Id Name
1 a
2 b
3 c
如何查询出 a,b,c 的结果?
怎么拼sql?
select GROUP_CONCAT(Name) from table_name;
var query = (from c in table
select c.name).ToArray();
console.write(string.join(query, ","));
select name from table
group by name