Hello il i use un leftjoin in the sql query, i have 1 error AdminAutoMaker::table("table1")
->leftjoin("table2","table2.id","=","table1.id_table2")
->leftjoin("table3","table3.id","=","table1.id_table3")
I have this error query Error >> [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.date_day SELECT DATE_FORMAT(table2.date,'%Y-%m-%d') AS table2.date_day, SUM(table1.nbre) AS table1.nbre_sum FROM transactions_details ...
The problem is that the mysql use alias with the table with jointure table2.date_day in place of date_day.
Have you got a tips to avoid this error ? Thanks