"this doesn't work" could mean an hundred things.
What exactly is going wrong? any error messages?
Anyway, I presume a registration NUMBER is stored in the database as an INT, not a string.
Try leaving out the quotes around the 7234907
Also, you may want to change the 'JOIN' to 'LEFT JOIN'