You need to alias the sum(mark)
create table totals as select rno,sum(mark) mysum from marks group by rno
Notice that "mysum" might not be a good column name for you![]()
|
Results 1 to 10 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |