Good morning
I have a table called books that has 3 fields, Code, Name and Chapters Example content:
32 - Jonas - 4
I need that after the select return the following result to me
Codigo e Capitulo
32 1
32 2
32 3
32 4
I've been told to use a cursor, but I'm not able to