首页 > 代码库 > postgresql 大小写,别名
postgresql 大小写,别名
select ask.id "id",ask.createTime "createTime",ask.publisherID "publisherID",users.nickname "nickname",users.icon "icon",users.gender "gender",ask.reward "reward",ask.zan "zan",ask.commentID "commentID",ask.typee "type",ask.label "label",ask.content "content",ask.image "image",count(comment.id) "commentCount"from ask inner join users on ask.publisherID=users.id left outer join comment on comment.objectID = ask.id group by ask.id,users.nickname,users.icon,users.genderorder by "createTime" desclimit 10 offset 0;
postgresql默认全部小写,若要区分字段名大小写需要用引号括住
postgresql 大小写,别名
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。