I found a table i am working in to have column names equal to mysql keywords. Great. That can be solved by "
or '
like this example:
select count("count") from A;
will work when count is a column name as well as a keyword for Mysql.
but i have no idea how to do it when you need to leverage joins.
The following code doesn't seem to work, but you all will have an idea as to what i am trying to do.
select count(a."count") from A a join B b on a.id = b.id;
it seems that a."count"
is not valid. How would i go about resolving this issue so i can adjust all of my queries accordingly.