Select nvl(Table1.Item,Table2.Item), ; sum(iif(isnull(Table1.Item),0,1)+iif(isnull(Table2.Item),0,1)) as ItemCnt ; from Table1 ; full outer join Table2 on Table1.Item = Table2.Item>Is it possible to write 1 select statement in VFP that will return the frequency of items across two tables. For Instance I have two separate tables that contain information about the use of a product. I want to see the total frequency of each item across the tables