Thank you for this advice. I was just wondering what to do and therefore come to ask a couple of questions here. But now I already found the answer without even having to ask. " Writing out the SQL, then running it directly through MySQL can be very helpful." This was basically what I needed to do. By the way, if anyone wants to have a laugh, read this blog. It is
really well written and funny.