Yes, there are a number of portals which help you execute SQL commands. They are all basically designed for practicing purposes and cannot be used to build real-time applications. I'll just give you some list of sites where you can execute SQL programs.
SQL TryIt Editor provided by w3schools.com
Online SQL Editor by tutorialpoints.com
Hope you find the post helpful. All the best.