• Write the query to get it working on one DB first, then find and replace all ' with ''