MS Access重复 [英] MS Access Duplicates

查看:83
本文介绍了MS Access重复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我遇到重复问题。我有两张桌子如下:

ID项目名称

1调音台

2调音台

物品名称重量

搅拌机33

搅拌机22


ID物品名称重量

1调音台33

1调音台22

2调音台33

2调音台22


但是我想要一张没有公告的桌子。我不能使用Max / Min / Average或First / Last under Weight字段,因为有两个以上具有相同名称的项目。 (ID和重量都是独一无二的。)


有人可以指导我。


谢谢

prakash

Hello
I am having problem with duplicates. I have two table as below:

ID Item Name
1 Mixer
2 Mixer

Item Name Weight
Mixer 33
Mixer 22


ID Item Name Weight
1 Mixer 33
1 Mixer 22
2 Mixer 33
2 Mixer 22

But I want a table without dublicates. I can''t use Max/Min/Average or First/Last under Weight field because there are more than 2 items with same name. (Both ID and Weight are unique).

Can somebody guide me please.

Thanks
prakash

推荐答案

我没有看到任何重复,记录对我来说是独一无二的。
I don''t see any duplicates, the records look unique to me.



我没有看到任何重复,记录对我来说是独一无二的。
I don''t see any duplicates, the records look unique to me.



我认为Prakash正在寻找这样的结果:


ID商品名称

1个搅拌机

2搅拌机


产品名称重量

搅拌机33

搅拌机22

ID物品名称重量

1调音台33

2调音台22


我''我对我的一个查询遇到同样的困难(查询帮助...... )和一直无法提出解决方案。

I think Prakash is looking for a result like this:

ID Item Name
1 Mixer
2 Mixer

Item Name Weight
Mixer 33
Mixer 22

ID Item Name Weight
1 Mixer 33
2 Mixer 22

I''m having the same difficulties with one of my queries (Help with query...) and have been unable to come up with a solution.



我认为Prakash正在寻找这样的结果:


ID物品名称

1调音台

2调音台


物品名称重量

调音台33

调音台22


ID物品名称重量

1调音台33

2调音台22


我对我的一个查询遇到了同样的困难(查询帮助...... )并且无法提出解决方案。
I think Prakash is looking for a result like this:

ID Item Name
1 Mixer
2 Mixer

Item Name Weight
Mixer 33
Mixer 22

ID Item Name Weight
1 Mixer 33
2 Mixer 22

I''m having the same difficulties with one of my queries (Help with query...) and have been unable to come up with a solution.



然后表格没有为此设计得当。没有办法知道哪个混音器使用哪个ID号。而应该如此设置表格:

Then the tables aren''t designed properly for this. There''s no way to know which Mixer goes with which ID number. Rather the tables should be set up thusly:

展开 | 选择 | Wrap | 行号


这篇关于MS Access重复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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