如何在MS Access 2010中的单个列下创建多个列 [英] How to create multiple columns under a single column in MS Access 2010

查看:78
本文介绍了如何在MS Access 2010中的单个列下创建多个列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在表中有10个不同的列,我必须在单个列下排序3列(下拉菜单类型)任何人都可以解释这样做的方式

解决方案

尝试此查询:

 选择 column1 来自 tablename 
union all
选择 column2 来自 tablename
union 全部
选择 column3 来自 tablename


I have 10 different columns in the table,which i have to categorize 3 columns under a single column (sort of drop down menu ) can any one explain the way of doing it

解决方案

Try this query:

select column1 from tablename
union all 
select column2 from tablename
union all
select column3 from tablename


这篇关于如何在MS Access 2010中的单个列下创建多个列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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