How to find a bad query?

Database
Enthusiast

How to find a bad query?

I am new to Teradata, I want to know, what factors to consider when finding a bad query?