如何更改返回值上的列标题? [英] How do I change column headers on a return value?

查看:368
本文介绍了如何更改返回值上的列标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图返回表中的所有内容,但我只想在返回时更改列标题.

I am trying to return everything in my table but I want to change the column headings ONLY when it gets returned.

SELECT * FROM d_cds 

这将返回表中原始列标题下的所有值.我如何用不同的标题显示它们?

That returns all the values from the table under the original column headings. How would I display them with different headings?

推荐答案

SELECT yourColumn as NameYouWant FROM d_cds 

这篇关于如何更改返回值上的列标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆