Hello ,
I have records with repeating attributes . Data Setup below
| Book Id | Bookname | Authors |
|---|
| B1 | Name of Book 2 | A1 |
|
| A2 |
|
| A3 |
| B2 | Name of Book 1 | A4 |
|
| A5 |
I want to write a dql which will be able to display attrubute at first index at the same time compare the second index
like this
select Authors from books where any Authors = 'A3' . I want the result to be A1 .Currently it is A3
Is it possible to select a value at index that is different from the index being compared.
like select Authors[first index] from books where any Authors ='A3'