What are the potential pitfalls of using * for aliases (a, b, c) before the FROM keyword in PHP DELETE statements?

Using * for aliases (a, b, c) before the FROM keyword in PHP DELETE statements can lead to ambiguity and potential errors when dealing with multiple tables. It is best to explicitly specify the table aliases to ensure clarity and prevent unexpected behavior in the query.

<?php
// Specify table aliases explicitly in the DELETE statement
$sql = "DELETE a, b, c FROM table1 AS a, table2 AS b, table3 AS c WHERE a.id = b.id AND b.id = c.id";