SELECT DISTINCT office_nameh
, office_code
, ddo_code
, present_post_ac as ac_code
{here i want to provide my custom comments}
, emp_catg
FROM employee_data
WHERE 1
假设我有一个表,我在其中对字段/列给出了注释
现在我想为列名和注释指定别名
office_nameh |office_code|ddo_code|ac_code |emp_catg 印地语办公室名称|办公室代码|DDO代码|我的评论|员工类别
最佳答案
怎么了...
SELECT DISTINCT office_nameh
, office_code
, ddo_code
, present_post_ac ac_code
, 'my comments here' custom_comments
, emp_catg
FROM employee_data
WHERE 1
关于mysql - 在 phpmyadmin 中执行选择查询时,如何为带有自定义注释的字段指定别名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51883001/