与DB2相关的SQL查询 [英] SQL query related to DB2
本文介绍了与DB2相关的SQL查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果包含88列的db2表需要从88个列中检索出87个column,那么我们如何从DB2表中获取数据.
请让我知道这件事.
How can we fetch the data from the DB2 table, if db2 table containing 88 columns i need to retrieve the 87 coulmns out of 88.
Please let me know this thing.
推荐答案
只需在SQL语句中指定所需的列,如下所示:
Just specify the columns you need in the SQL statement like below :
select col1, ... ,col87 from tablename
这篇关于与DB2相关的SQL查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文