How to optimize sql query

Posted by Wasd8800@reddit | learnprogramming | View on Reddit | 5 comments

I am currently learning sql and I try to write a procedure in sql server where I used to take data from more than four table where each table has large amount of data due to that it take more than minutes to execute a procedure.can you guys can give me some advice to optimize it.