[eluser]tolgay[/eluser]
[quote author="jmadsen" date="1340789447"]you the problem with the protecting ` , i think?
I find ActiveRecord to be a bit tricky when trying to work with more complicated queries. I would recommend just using:
Code:
$sql = "SELECT *FROM `arkadaslar` join uyeler on uyeler.id=(arkadaslar.uid+arkadaslar.fid)-2";
$query = $this->db->query($sql);
[/quote]
I am not want use query function.Is there another way ?