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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 658 views
  • 1 like
  • 3 in conversation