1
The pure query (sql) below, only returns me one row of the table, it occurs that I am working with two tables (Process and Progress) and that progress has as foreign key the primary key of Process.
select fkcodprocesso, dtandamento, descricao from andamento
order by str_to_date(dtandamento, '%d-%m-%Y') desc limit 1;
in fact it is a report of my system, where I need to list all the processes displaying the last progress of the same, table progress. Have an idea how to do this in Codeigniter @Marco Sales?
– Ramiro