sql - Allocate a sum on entries in a database -
I have the following condition: My table contains entries with such structure:
< Code> Name Sections Capacity Name 1A 10 Name 2b20 Name 3A15 Name 2C30
And then I have a specific number, I have alloted various entries based on number And section A. So when I want to assign to 30, I want to start with name 1-10, name 3 -15 and name 2 -5 . Is this possible in SQL? Or do I need to access a macro for this task too?
Thanks Ralph
Comments
Post a Comment