select distinct field1 from A 只能對單個表过漏重复记录。對多個表过漏重复记录﹕
select field1 from A union select field2 from B對多個表要顯示所有重复记录﹕
select field1 from A union all select field2 from B