BookmarkSubscribeRSS Feed
vinod4842
Fluorite | Level 6
Name Score
A     2B     3A     1B     3

I want a query which give the following output.

Name Score
A     2A     1Subtotal 3B    3B    3Subtotal 6

Please help me with an procSQL code

2 REPLIES 2
PaigeMiller
Diamond | Level 26

@vinod4842 wrote:
Name Score
A     2B     3A     1B     3

I want a query which give the following output.

Name Score
A     2A     1Subtotal 3B    3B    3Subtotal 6

Please help me with an procSQL code


Please help me by explaining how you get the output from the input.

--
Paige Miller
Reeza
Super User

Instead of recieving an answer you're seeing this post because your question is unclear. 

 

Please take the time to properly explain your question, provide sample input and output data where appropriate, and detail your logic. Without this we are forced to guess what you want. Or we just ignore your question. It's in your best interest to take the time to do so. 

 

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1640 views
  • 1 like
  • 3 in conversation