0
This is my table, I want to get the value abertoCaixa of the greatest idCaixa.
  CREATE TABLE tblcaixa 
  ( 
     idcaixa            INT NOT NULL PRIMARY KEY auto_increment, 
     aberturacaixa      DOUBLE(200, 2), 
     abertocaixa        INT, 
     totalcaixa         DOUBLE (200, 2), 
     hrsaberturacaixa   DATETIME, 
     hrsfechamentocaixa DATETIME 
  );
What’s your question? What have you tried so far? I suppose your question is about Mysql and not about Mysql Workbench.
– fernandosavio
select max(idCaixa) from tblCaixa; this code takes the largest idCaixa, but I want to take the opened valueCaixa from the highest idCaixa
– Predo
I suggest [Edit] the question and add as much information as possible
– fernandosavio