I solved it by doing a different query.
SELECT * FROM ( SELECT * from A EXCEPT SELECT * from B )
Thanks