/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT 'tabelle1' Tabelle, a.* FROM ( SELECT * FROM tabelle1 MINUS SELECT * FROM tabelle2 ) a UNION SELECT 'tabelle2' Tabelle, b.* FROM ( SELECT * FROM tabelle2 MINUS SELECT * FROM tabelle1 ) b
URL: http://blog.256bit.org/archives/441-Den-Unterschied-zwischen-2-Tabellen-herausfinden.html