SQL commands from replica