0

我有一张大桌子,其中包括姓氏和出生日期等。我需要编写一个查询,它只返回姓氏和出生日期与表的另一行中的那些行相同的行。

这是一个表格,其中包含有关提出申请的人的信息。我想找出那些申请了不止一次的人。

我可以想到一种使用集合操作的方法,但 MS Access 似乎没有实现它们。

谢谢你的帮助。

4

3 回答 3

1

Is there a possibility that the last name has been slightly miskeyed? Either accidentally or on purpose by the person or where the last name could be spelled differently depending on the persons original language.

If so consider using the Soundex algorithm or the first two or three characters of the first name and last name. If you are going to use the Soundex algorithm I would suggest updating the table first with the value of the Soundex field rather than computing it as you go long.

于 2009-06-05T22:30:05.597 回答
1

MS Access 具有用于查找重复项的内置查询生成器向导

http://www.databasedev.co.uk/query-wizard.html

于 2009-06-05T19:46:11.217 回答
0

正如 DJ 所说,Access 有一个寻找骗子的向导。该向导使用 HAVING 子句。所以,如果你说你想“用 SQL 做”,我建议阅读 HAVING。

于 2009-06-05T21:54:31.537 回答