I have a table with products configuration.
Id_conf are connected with products (colspan_title) by row with a title and numbers of rows in colspan_no i.e. id_conf 4461-4465 are connected with colspan_title from a row 4461.
How to write a query which join every id_conf with colspan_title? Is it possible to update a cell from a cell above?
Data in text:
id_conf position proj_id colspan_no colspan_title
4460 1 575 1 prod1
4461 2 575 5 prod2
4462 3 575 0
4463 4 575 0
4464 5 575 0
4465 6 575 0
4466 7 575 2 prod3
4467 8 575 0
4468 9 575 3 prod4
4469 11 575 0
4470 10 575 0
4471 12 575 3 prod5
4472 14 575 0
4473 13 575 0
EXPECTED OUTPUT all id_conf have colspan_title
Thanks DS
