I was recently assigned a task of creating an auction system. During my work, I met numerous occasions where my SQL queries that contained joins failed to execute due to amb
You can also define the table column beside the table name:
SELECT P.*,T.name AS type FROM AS P LEFT JOIN AS T ON P.id=T.id