Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1997

Need Help in Lag Function - MYSQL

$
0
0
Hey Folks

Could you please help me to resolve my UAT issue. I need to do some calculation in my configs values (on 5 Mins Interval). For that i need to find delta between 2 times using LAG function.

Sample table structure
Code:
create table T1 (Device varchar(25), ID integer, Interface varchar(100), Time DATETIME , Config integer);

insert into T1 (Device, ID, Interface, Time, Config ) values('rddbernsg23oop42',32583,'rdd_test','2021-07-02 2:30:02',12552774);
insert into T1 (Device, ID,...
Need Help in Lag Function - MYSQL

Viewing all articles
Browse latest Browse all 1997

Trending Articles