I have to two tables one has 2800 records the other one has 166 records. I have to join the tables by the item field. The 166 record table has duplicate item numbers which are need. When I create the join I get a mismatch error. I tried the left and right joins but it doesn't work. Can someone help me on identifing what is casuing the mismatch.
SELECT RPT0092_ISP_AS400SQL_SlotItem.Item AS RPT0092_ISP_AS400SQL_SlotItem_Item, WedsFlags.ITEM AS WedsFlags_ITEM
FROM WedsFlags LEFT JOIN RPT0092_ISP_AS400SQL_SlotItem ON WedsFlags.ITEM = RPT0092_ISP_AS400SQL_SlotItem.Item;
SELECT RPT0092_ISP_AS400SQL_SlotItem.Item AS RPT0092_ISP_AS400SQL_SlotItem_Item, WedsFlags.ITEM AS WedsFlags_ITEM
FROM WedsFlags LEFT JOIN RPT0092_ISP_AS400SQL_SlotItem ON WedsFlags.ITEM = RPT0092_ISP_AS400SQL_SlotItem.Item;