I'm using CodeIgniter, I want to using short table name for my SQL Query like that:
select pr.name from product pr where pr.id=12;
by using db
class, I supposed to do:
$this->db->select('pr.name')->from('product pr')->where('pr.id', 12)->get();