MySQL Forums
Forum List  »  Spanish

Re: Máximo valor consulta Mysql
Posted by: Alejandro Viera
Date: September 02, 2015 09:15AM

Utiliza la funciona MAX() en el SELECT, luego actualizas la columan con los valores que te devuelve, te paso a sintaxis, tendrias que adaptarla a tus necesidades

SELECT medico, MAX(idmedico)
FROM medicos

Suerte!

Options: ReplyQuote


Subject
Views
Written By
Posted
2519
September 02, 2015 08:20AM
Re: Máximo valor consulta Mysql
2574
September 02, 2015 09:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.