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
t2 doesn't have an a column, but ais selected in the generated SQLs:
t2
a
mysql> desc t1; +-------+---------+------+------+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+---------+------+------+---------+-------+ | a | int(11) | YES | | NULL | | +-------+---------+------+------+---------+-------+ 1 row in set (0.00 sec) mysql> desc t2; +-------+---------+------+------+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+---------+------+------+---------+-------+ | b | int(11) | YES | | NULL | | +-------+---------+------+------+---------+-------+ 1 row in set (0.00 sec) --- SELECT `a` FROM t2; // wrong --- SELECT `a` FROM t1 WHERE `a` > 7; // correct
The text was updated successfully, but these errors were encountered:
Could you please attach your yy and zz file?
Sorry, something went wrong.
I think the reason was the same as in #25. It assumes t2 has the same scheme as t1.
t1
cyliu0
No branches or pull requests
t2
doesn't have ana
column, buta
is selected in the generated SQLs:The text was updated successfully, but these errors were encountered: