i have a query with 3 left joins, many wheres, and many more things.
The query work but php overwrite the values when into 2 tables are the same headings. ¿There are something similar to Table1.* as Field11/21/31, Table2.* as Field12/22/23, TableN.* as Field1N/2N/3N
?
I found the tipic Table1.Field1 as Name1, Table1.Field2 as Name2, Table2.Field1 as Name1_2,
... But would be so long for my query.
ex: select first_name as fname, last_name as lname from table;
this will output u as
fname lname
rupesh sawant
jay ghosh
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.