Jump to content

rows and table


marcosamba

Recommended Posts

Hi, I've a problem I can't solve.

 

My query returns results like these

 

xx | yy | tot

--------------

A1 | BB | 200

A2 | 10 | 200

A1 | CC | 200

A2 | 20 | 200

 

and I have to create a table like this

 

abc | def | percentage

-------------------------

BB | 10 | (10/200)*100

CC | 20 | (20/200)*100

 

Can anyone help me? Can I do it with a crosstab?

Thanx!! ;)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...