菜鸟求解
sqlserver吧
全部回复
仅看楼主
level 3
两表连接之后弄出需要的数据 可是有些列是重复的 相同的列如何去掉[泪]
2016年05月20日 02点05分 1
level 3

2016年05月20日 03点05分 2
level 3
distinct么?
2016年05月20日 03点05分 3
level 6
1. 重复的列在单独一个表里是重复的吗?
2. 你是怎么关联两个表的?
如果 select A.column1, A. column2, B.column1 from A , B where A.column=B.column
这样还有重复的,那么在select 后面加上 distinct
2016年05月20日 13点05分 4
1