好像在weblogic中是用GROUPBY
其它不知道 ------------------------------------------------------
我们还年轻牛奶会有的奶牛也会有的
可天天在 csdn 混这些会有吗 ??
其它不知道 ------------------------------------------------------
我们还年轻牛奶会有的奶牛也会有的
可天天在 csdn 混这些会有吗 ??
SELECT DISTINCT O.address FROM StudentEJB AS O
use distinct but not group by;)if you use 'count(*),col1' in your sql then add group by col1
at then end of sql.select distinct * from table1 --useage of distinct
or
select count(*),col1 from table1 group by col1 --useage of group by.