Код: Выделить всё
$this->db->select('P.PizzaID, P.PizzaName AS Pizza Name, S.SupplierCode AS Supplier Code, P.CookingTime AS Cooking Time, CONCAT(S.SupplierTitle, ' ', S.SupplierFirstName, ' ', S.SupplierLastName) AS Name')
->from('Pizzas P, Supplier S')
->where('P.CookingTime', 30)
->get();
Подробнее здесь: https://stackoverflow.com/questions/217 ... eigniter-q
Мобильная версия