plugged sql as a plugin