adspace
You need to multiply all values of a single column. How would you do that?
Answer Posted / Anuj Singh
To multiply all values of a single column in Sybase, you can use the built-in aggregate function SUM with a self-join and a subquery:
SELECT column_name * (SELECT SUM(column_name) FROM your_table) as total FROM your_table;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category