In a medium-sized bowl, combine the mayonnaise, ketchup, sweet pickle relish, yellow mustard, white vinegar and sugar. Stir the ingredients until well combined and smooth. Add the onion powder and garlic powder to the bowl and stir again until the spices are fully incorporated. Chill for one hour before serving.
