SQL editor vs terminal?

I already have sql downloaded on my computer and still in the early phases of learning it and connecting it to machine learning. Yet I realize how complicated it could be in the terminal with a big project, with lots of data.

So my question is, Is there a good SQL editor to use? Like pycharm for phyton?