ishwar kokkiliishwarkoki.hashnode.dev·Nov 16, 2023SQL Problem of the day #2Problem Statement: Find the total duration each device was turned on. Table creation and data insertion script: CREATE TABLE electric_items( id int, type varchar(20), status varchar(20), time_res int ); INSERT INTO electric_items VALUES(1,'light','o...1 likeSQLAdd a thoughtful commentNo comments yetBe the first to start the conversation.