protected function getColumnReference($column, $tableless)
    {
        if ($tableless) {
            return $column;
        }

        // check if table is already defined
        if (count(explode(".", $column)) > 1) {
            return $column;
        }

        return "`" . $this->table . "`.`" . $column . "`";
    }