PL/SQL (MOSC)

MOSC Banner

Need a help to merge two rows with similar name up to X from a table.

edited Feb 19, 2020 4:08AM in PL/SQL (MOSC) 4 commentsAnswered

Hello Team,

Can you help me to get desire output.

Table name TBS with below details.

Name                 number

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

ABCD_data2         10

ABCD_index2        20

XYZ_data2         30

XYZ_index2       20

i want output as below.

Name          number

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

ABCD            30

XYZ             50

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center