SELECT param1, param2, param3 FROM table WHERE id=1;
SELECT * FROM table WHERE param1=@param1 and param2=@param2 and param3=@param3;
SELECT * FROM table as a JOIN table as b ON CONCAT( 'a.param1', 'a.param2', 'a.param3') = CONCAT( 'b.param1', 'b.param2', 'b.param3') WHERE a.id = '1';
SELECT * FROM table as a JOIN table as b ON a.param1 = b.param1 AND a.param2 = b.param2 AND a.param3 = b.param3 WHERE a.id = '1';