MySQL Forums
Forum List  »  French

Re: SQL COUNT et DISTINCT
Posted by: Jean Molliné
Date: December 16, 2018 01:47PM

S'il n'y a pas de colonne de type DATE mais que l'identifiant comporte une date, alors on peut l'extraire avec un SUBSTRING pour créer un alias de colonne permettant le tri

______________________________________________________________
Une question bien formulée, c'est un problème bien compris : ça représente déjà les 3/4 de la réponse ;)

Options: ReplyQuote


Subject
Views
Written By
Posted
1859
December 14, 2018 05:38PM
828
December 16, 2018 12:38PM
911
December 16, 2018 01:20PM
Re: SQL COUNT et DISTINCT
821
December 16, 2018 01:47PM
786
December 20, 2018 03:48AM
817
December 20, 2018 04:04AM


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.