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. 

 

 

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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