In fact, there are non-commercial CC licenses, such as Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) , which has additional non-commercial restrictions. Therefore, I think you can use CC BY-SA 3.0 for commercial purposes.
To implement this, you simply execute the following queries:
Attribution: you must attribute the work in the order specified by the author or licensor (but this does not mean that they approve of you or your use of the work).
Share Alike: If you modify, transform or create this work, you can distribute the received work only with the same or similar license to this one.
or more clearly the condition
source share