SQL查询以选择表中除两列外的所有列 [英] SQL query to select all columns in a table except two columns
本文介绍了SQL查询以选择表中除两列外的所有列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在ms-access中有一个表,列名从A到H
I have a table in ms-access with column names A to H
TableA
A B C D E F G H
我如何编写查询以选择除B和F列之外的所有列.查询结果应为
how can i write a query to select all columns except B and F columns. Query result should be
A C D E G H
我们有这样的东西
select * from TableA except B, F ?
推荐答案
不,您被困住了
select a, c, d, e, g, h from TableA
这篇关于SQL查询以选择表中除两列外的所有列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文