Infosys interview question

SQL queries memory managemant techniques