Prepare more SQL for Prefixes