General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Calculating percentage via SQL
Is there a away to calculate the percentage via a sql statment for the following
i have for example 100 Laptops and these laptops are being sold by several vendors i want to know the percentage of each vendor for example
vendor 1 sold 15
vendor 2 sold 35
vendor 3 sold 50
i want to know the percentage of each using the select sql..
Thanks to all.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only