You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT articles.title,articles.id,articles.channel_id
FROM articles
INNER JOIN articles_tags ON articles.id = articles_tags.articles_id
INNER JOIN tags ON articles_tags.tags_id = tags.id
WHERE tags.id IN (
SELECT tags.id
FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tags_id
WHERE tags.is_hidden = 1 AND articles_tags.articles_id = 111
LIMIT 12
)
GROUP BY articles.id
ORDER BY articles.created_at DESC
Hi @Lee-php ,
There is no support using subquery for now but I'll add it to ToDO list.
Now, you can use query method and write pure SQL code in order to run your query.
I want sql:
This is what I did:
Is there any method similar to subSelect? Or any other suggestions?
The text was updated successfully, but these errors were encountered: