skip to Main Content

Mysql – SQL Flag By Group

CREATE TABLE t (STUDENT int, SCORE int, DATE date) ; INSERT INTO t (STUDENT, SCORE, DATE) VALUES (1, 6, '2022-02-01 00:00:00'), (1, 2, '2022-03-12 00:00:00'), (1, 5, '2022-04-30 00:00:00'), (2, 2, '2022-04-12 00:00:00'), (2, 0, '2022-04-17 00:00:00'), (2, 7, '2022-05-08…

VIEW QUESTION
Back To Top
Search