我对mysql有些新手,我有一个错误的查询,我无法弄明白。
SELECT field1, field2, field3, field4 AS name, title, url, description FROM table_data
答案 0 :(得分:1)
你试过这个吗?
SELECT field1 as 'name'
, field2 as 'title'
, field3 as 'url'
, field4 as 'description'
FROM table_data