这个数据库有什么问题或者正确的方法是什么? [英] what is wrong with this database or what is the right way to do it ???

查看:54
本文介绍了这个数据库有什么问题或者正确的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库如下:

我有一个查询来根据表单中的组合框过滤数据(按工作名称,设备类型过滤... 。)如下所示:

and i have a query to filter data according to a combobox from a form ( filter by job title , Equipment Type .... )like below :

但现在当我运行查询时,它会为那些拥有设备ID的员工获取数据,并在报告中显示查询结果...对于一名员工而言,它不仅仅是一台设备......它会重复员工的名字......(可能通过与emplyee名称分组来解决
),但如果每个人都没有设备记录......那么如果我用职称过滤它,则不显示此人...

but now when i run the query , it get data for those employee which they have equipmentID , and im showing the result of the query on a report .. when there is more than one equipment for one employee .. it repeat the employee name ... ( may be this be solved by grouping with emplyee name ) , but if there is no record of equipment per some one .. it will not show this person if i filter it with job title ...

任何建议

问候

推荐答案

尝试询问  http://social.msdn.microsoft.com/Forums/en-US/databasedesign/threads ,在你问的时候发布SQL。

Try ask at http://social.msdn.microsoft.com/Forums/en-US/databasedesign/threads, post the SQL when you ask.

此论坛适用于图形库。


这篇关于这个数据库有什么问题或者正确的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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