PostgreSQL AS不忽略大小写

select p.name as Name from person p;

as后的Name会显示为name,若想不忽略大小写,请把Name加上双引号

select p.name as "Name" from person p;

 

posted @ 2016-09-18 23:32  raindream  阅读(2597)  评论(0编辑  收藏  举报