[Solved] How can I use MySQL alias in Where condition
[ad_1] I found concatenating must be done in where condition select table_date from table_name where concat(DATE_FORMAT(now(),’%Y-%m’),’-‘,table_date) < curdate() [ad_2] solved How can I use MySQL alias in Where condition