MySQL Forums
Forum List  »  French

Compte changement de valeur
Posted by: Martin Fafard
Date: March 03, 2020 12:38PM

Bonjour

J'ai une table avec colonne timestamp et une avec 0/1
21-02-2020 11:13:14 1
21-02-2020 11:13:24 1
21-02-2020 11:13:34 0
21-02-2020 11:13:44 1
21-02-2020 11:13:54 1
21-02-2020 11:14:04 0
21-02-2020 11:14:14 0
21-02-2020 11:14:24 0
21-02-2020 11:14:34 1
21-02-2020 11:14:44 1

Quelle requête me permettra de connaître le nombre de passage de 0 à 1 ?
Dans mon exemple, la réponse est 2

Merci

Martin

Options: ReplyQuote


Subject
Views
Written By
Posted
Compte changement de valeur
700
March 03, 2020 12:38PM
391
March 03, 2020 03:49PM
407
March 04, 2020 07:04AM
416
March 04, 2020 11:32AM


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.