There are many useful online services that enable you to run SQL online. Look for web schools that include SQL editors and then check out virtual server providers to get a managed RDMS online.