-
I need to retrieve a certain number of names from another table. If I use JOIN, I get all the names, but I want to limit their number. Here’s an example of regular SQL: https://dbfiddle.uk/T3cexpeH. This code works:
But this one does not:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Have a look at this https://docs.phalcon.io/latest/db-phql/?h=match#custom-dialect |
Beta Was this translation helpful? Give feedback.
-
In the end, I wrote an analog of GROUP_CONCAT. A questionable implementation of the desired SQL.
|
Beta Was this translation helpful? Give feedback.
In the end, I wrote an analog of GROUP_CONCAT. A questionable implementation of the desired SQL.