How do you find the difference between two database with the same structure but different data? with SQL (results will be ingested with PHP).
Long Version
Seems like a little daunting task for a SQL n00b like me, but I'm here to seek some guidance and clear my head from all the googling.
I thought this would be common thing to do. I have two "database dumps" at different times, I want to know what data is different between them. I can do a check sum and know they're different, but I want to get those exact fields that different.
For this purpose, say there are 3 main tables
events: list of tv shows and moviesBetween two dumps of these tables, there could be new events, new actors, some actors with changed IDs, or just changes names (rare), and of course new images, but please note i'm not just talking added or deleted records, there could be changes to the data. I.e. same image ID, but now has a different image name, or same actor ID, but a middle initial is added, etc.
actors: list of actors in those movies and shows
image: image of the actors and tv shows and movie logos
*connector tables*: A few tables that connect all of these together.
I want to display these differences with mysql queries.
INNER JOINS? some tool or procedure script?
Any direction appreciated,
Dan