Revert "Submission based on SQL"

This reverts commit b3ce1ff366c56e2eeb8544730bdeff254cc59586.