We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Here is my query :
SELECT a.* FROM a LEFT JOIN ( SELECT b.id, b.name FROM b ORDER BY b.date_created DESC LIMIT 1 ) c ON c.id = a.iduser
and Magic Query removes the "JOIN" keyword (not for a simple JOIN), here is the result:
SELECT `a`.* FROM `a` LEFT (SELECT `b`.`id`, `b`.`name` FROM `b` ORDER BY `b`.`date_created` DESC LIMIT 1) `c` ON ( `c`.`id` = `a`.`iduser`)
Any idea how to solve this issue ?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Fix join with a subquery
45ce309
fixes thecodingmachine#74
Successfully merging a pull request may close this issue.
Hello,
Here is my query :
and Magic Query removes the "JOIN" keyword (not for a simple JOIN), here is the result:
Any idea how to solve this issue ?
Thanks in advance!
The text was updated successfully, but these errors were encountered: