I want to create a query that will search the table and find the following:
If a POL_N entry has ENDO_N entries then the COUNT ENDO_N field will start counting the ENDO_N entries and will get the assigned name as shown below.
For example POL002 has two ENDO_N entries, hence the COUNT ENDO_N will be POL002-1 and POL002-2.
Do you have any suggestions?
