UnknownSec Bypass
403
:
/
var
/
www
/
cotutilitydash
/
database backup
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
consumptiondb.sql
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 12, 2023 at 07:17 AM -- Server version: 10.4.14-MariaDB -- PHP Version: 7.4.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `consumptiondb` -- -- -------------------------------------------------------- -- -- Table structure for table `consumptiontb` -- CREATE TABLE `consumptiontb` ( `consumid` int(11) NOT NULL, `consuptiondate` date DEFAULT NULL, `areaid` int(11) DEFAULT NULL, `subareaid` int(11) DEFAULT NULL, `totalconsumption` decimal(10,4) DEFAULT NULL, `isdeleted` int(11) DEFAULT NULL, `userid` int(11) DEFAULT NULL, `modifiedbyuserid` int(11) DEFAULT NULL, `creationdatetime` datetime DEFAULT NULL, `modificationdatetime` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `consumptiontb` -- INSERT INTO `consumptiontb` (`consumid`, `consuptiondate`, `areaid`, `subareaid`, `totalconsumption`, `isdeleted`, `userid`, `modifiedbyuserid`, `creationdatetime`, `modificationdatetime`) VALUES (1, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-11-14 08:11:17', NULL), (2, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-11-14 09:11:24', NULL), (3, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-11-14 09:11:33', NULL), (4, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-11-14 10:11:44', NULL), (5, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-11-14 10:11:57', NULL), (6, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-11-17 07:11:04', NULL), (276, '2023-11-25', 2, 8, '15000.0000', 0, 0, NULL, '2023-11-25 08:11:03', NULL), (277, '2023-11-25', 2, 4, '7000.0000', 0, 0, NULL, '2023-11-25 08:11:31', NULL), (284, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (285, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (286, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (287, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (288, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (289, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-11-25 12:11:44', NULL), (290, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (291, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (292, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (293, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (294, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (295, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-11-25 12:11:06', NULL), (296, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (297, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (298, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (299, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (300, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (301, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-11-25 12:11:40', NULL), (1349, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1350, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1351, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1352, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1353, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1354, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-12-09 06:12:56', NULL), (1355, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1356, '2023-11-14', 2, 8, '6787.0000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1357, '2023-11-14', 2, 6, '4545.4000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1358, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1359, '2023-11-16', 2, 8, '45466.8000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1360, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-12-09 09:12:59', NULL), (1361, '2023-11-14', 2, 4, '35435.0000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1362, '2023-12-09', 2, 8, '6787.0000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1363, '2023-12-09', 2, 6, '4545.4000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1364, '2023-11-14', 2, 5, '34666.0000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1365, '2023-12-09', 2, 8, '45466.8000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1366, '2023-11-17', 2, 5, '3000.0000', 0, 0, NULL, '2023-12-09 09:12:12', NULL), (1367, '2023-12-20', 2, 8, '2000.0000', 0, 0, NULL, '2023-12-09 09:12:41', NULL), (1368, '2023-12-09', 0, 0, '0.0000', 0, 0, NULL, '2023-12-09 13:12:43', NULL), (1369, '2023-12-31', 2, 8, '5000.0000', 1, 0, NULL, '2023-12-09 13:12:06', NULL), (1370, '2023-12-31', 2, 8, '5000.0000', 1, 0, NULL, '2023-12-09 14:12:16', NULL), (1371, '2023-12-31', 2, 8, '5000.0000', 0, 0, NULL, '2023-12-09 14:12:14', NULL); -- -------------------------------------------------------- -- -- Table structure for table `createusertb` -- CREATE TABLE `createusertb` ( `id` int(11) NOT NULL, `name` varchar(100) DEFAULT NULL, `username` varchar(100) DEFAULT NULL, `upassword` varchar(50) DEFAULT NULL, `usertype` varchar(50) DEFAULT NULL, `mobileno` varchar(50) DEFAULT NULL, `isdeleted` int(11) DEFAULT NULL, `userid` int(11) DEFAULT NULL, `creationdatetime` datetime DEFAULT NULL, `modifiedbyuserid` int(11) DEFAULT NULL, `modificationdatetime` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `createusertb` -- INSERT INTO `createusertb` (`id`, `name`, `username`, `upassword`, `usertype`, `mobileno`, `isdeleted`, `userid`, `creationdatetime`, `modifiedbyuserid`, `modificationdatetime`) VALUES (1, 'YOGENDRA', 'yogi', '12345678911', 'Admin', '8979236470', 0, 0, '2023-11-30 14:11:25', NULL, NULL), (2, 'sanjeev', 'sanjeev.mca23', '123456', 'Supervisor', '65546546', 0, 0, '2023-12-04 10:12:35', NULL, NULL), (3, 'ajay', 'ajay', '123456', 'Supervisor', '57567567', 0, 0, '2023-12-11 13:12:10', NULL, NULL), (4, 'sachin', 'sachin', '123', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:26', NULL, NULL), (5, 'Rahul', 'Rahul', '1234', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:46', NULL, NULL), (6, 'Saurabh', 'Saurabh', '123', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:03', NULL, NULL), (7, 'robin singh', 'robin', '123', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:25', NULL, NULL), (8, 'venktesh prasad', 'venktesh', '123', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:54', NULL, NULL), (9, 'shri nath', 'shri', '123', 'Supervisor', '0000', 0, 0, '2023-12-11 13:12:10', NULL, NULL), (10, 'virendra sehbhag', 'virendra', '000', 'Supervisor', '0', 0, 0, '2023-12-11 13:12:53', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `mastertb` -- CREATE TABLE `mastertb` ( `id` int(11) NOT NULL, `area` varchar(100) DEFAULT NULL, `subarea` varchar(100) DEFAULT NULL, `minconsumption` decimal(10,0) DEFAULT NULL, `maxconsumption` decimal(10,0) DEFAULT NULL, `identifier` int(11) DEFAULT NULL, `isdeleted` int(11) DEFAULT NULL, `creationdatetime` datetime DEFAULT NULL, `modificationdatetime` datetime DEFAULT NULL, `userid` int(11) DEFAULT NULL, `modifiedbyuserid` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `mastertb` -- INSERT INTO `mastertb` (`id`, `area`, `subarea`, `minconsumption`, `maxconsumption`, `identifier`, `isdeleted`, `creationdatetime`, `modificationdatetime`, `userid`, `modifiedbyuserid`) VALUES (2, 'Main Power Consumption', NULL, NULL, NULL, 1, 0, '2023-11-11 08:11:29', NULL, 0, NULL), (3, 'Power Consumption in PH-01', NULL, NULL, NULL, 1, 0, '2023-11-11 08:11:36', NULL, 0, NULL), (4, 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '3000', '9000', 2, 0, '2023-11-13 08:11:12', NULL, 0, NULL), (5, 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '5000', '12001', 2, 0, '2023-11-13 08:11:48', NULL, 0, NULL), (6, 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4000', '8000', 2, 0, '2023-11-13 08:11:05', NULL, 0, NULL), (7, 'Main Power Consumption', 'Total DG Electricity Generation in Phase-02', '3000', '6000', 2, 0, '2023-11-13 08:11:33', NULL, 0, NULL), (8, 'Main Power Consumption', 'CLS Solar', '2000', '7000', 2, 0, '2023-11-13 08:11:48', NULL, 0, NULL), (9, 'Main Power Consumption', 'abc1', '123', '4445', 2, 1, '2023-11-16 08:11:07', NULL, 0, NULL), (10, 'abnh1', NULL, NULL, NULL, 1, 0, '2023-11-17 07:11:08', NULL, 0, NULL), (11, 'kk1', NULL, NULL, NULL, 1, 1, '2023-12-10 11:12:11', NULL, 0, NULL); -- -------------------------------------------------------- -- -- Table structure for table `permissiontb` -- CREATE TABLE `permissiontb` ( `id` int(11) NOT NULL, `formname` varchar(100) DEFAULT NULL, `formshowname` varchar(100) DEFAULT NULL, `padd` varchar(50) DEFAULT NULL, `pedit` varchar(50) DEFAULT NULL, `pdelete` int(11) DEFAULT NULL, `pshow` int(11) DEFAULT NULL, `identifier` int(11) DEFAULT NULL, `isdeleted` int(11) DEFAULT NULL, `userid` int(11) DEFAULT NULL, `modifiedbyuserid` int(11) DEFAULT NULL, `creationdatetime` datetime DEFAULT NULL, `modificationdatetime` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `permissiontb` -- INSERT INTO `permissiontb` (`id`, `formname`, `formshowname`, `padd`, `pedit`, `pdelete`, `pshow`, `identifier`, `isdeleted`, `userid`, `modifiedbyuserid`, `creationdatetime`, `modificationdatetime`) VALUES (1, 'manage_area.php', 'Manage Area', '0', '0', 0, 0, 1, 0, 0, 1, '2023-12-07 18:02:10', NULL), (2, 'manage_subarea.php', 'Manage Sub Area', '0', '0', 0, 0, 1, 0, 0, 1, '2023-12-07 18:02:10', NULL), (13, 'manage_consumption_entry.php', 'Manage Consumption', '0', '0', 0, 0, 1, 0, 0, NULL, '2023-12-08 18:49:18', NULL), (17, 'upload_excelfile.php', 'Upload Excel File', '0', '0', 0, 0, 1, 0, 0, 0, '2023-12-10 14:48:56', NULL), (18, 'manage_user.php', 'Manage User', '0', '0', 0, 0, 1, 0, 0, 0, '2023-12-10 14:51:27', '0000-00-00 00:00:00'), (19, 'user_permission.php', 'Manage User Permission', '0', '0', 0, 0, 1, 0, 0, 0, '2023-12-10 14:54:56', '0000-00-00 00:00:00'), (20, 'consumption_report.php', 'Consumption Report', '0', '0', 0, 0, 1, 0, 0, 0, '2023-12-10 15:01:28', '0000-00-00 00:00:00'), (21, 'graphical_consumption_report.php', 'Graphical Consumption Report', '0', '0', 0, 0, 1, 0, 0, 0, '2023-12-10 15:04:22', '0000-00-00 00:00:00'), (126, 'manage_area.php', 'Manage Area', '1', '0', 0, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (127, 'manage_subarea.php', 'Manage Sub Area', '1', '0', 0, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (128, 'manage_consumption_entry.php', 'Manage Consumption', '1', '1', 1, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (129, 'upload_excelfile.php', 'Upload Excel File', '1', '0', 0, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (130, 'manage_user.php', 'Manage User', '1', '1', 0, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (131, 'user_permission.php', 'Manage User Permission', '1', '0', 0, 1, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (132, 'consumption_report.php', 'Consumption Report', '1', '0', 0, 0, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (133, 'graphical_consumption_report.php', 'Graphical Consumption Report', '1', '0', 0, 0, 2, 0, 2, NULL, '2023-12-11 09:12:37', NULL), (134, 'manage_area.php', 'Manage Area', '1', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (135, 'manage_subarea.php', 'Manage Sub Area', '1', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (136, 'manage_consumption_entry.php', 'Manage Consumption', '1', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (137, 'upload_excelfile.php', 'Upload Excel File', '1', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (138, 'manage_user.php', 'Manage User', '0', '0', 0, 0, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (139, 'user_permission.php', 'Manage User Permission', '0', '0', 0, 0, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (140, 'consumption_report.php', 'Consumption Report', '0', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL), (141, 'graphical_consumption_report.php', 'Graphical Consumption Report', '0', '0', 0, 1, 2, 0, 1, NULL, '2023-12-11 11:12:11', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tbl_customer` -- CREATE TABLE `tbl_customer` ( `CustomerID` int(11) NOT NULL, `CustomerName` varchar(250) NOT NULL, `Gender` varchar(30) NOT NULL, `Address` text NOT NULL, `City` varchar(250) NOT NULL, `PostalCode` varchar(30) NOT NULL, `Country` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_customer` -- INSERT INTO `tbl_customer` (`CustomerID`, `CustomerName`, `Gender`, `Address`, `City`, `PostalCode`, `Country`) VALUES (1, 'Maria Anders', 'Female', 'Obere Str. 57', 'Berlin', '12209', 'Germany'), (2, 'Ana Trujillo', 'Female', 'Avda. de la Construction 2222', 'Mexico D.F.', '5021', 'Mexico'), (3, 'Antonio Moreno', 'Male', 'Mataderos 2312', 'Mexico D.F.', '5023', 'Mexico'), (4, 'Thomas Hardy', 'Male', '120 Hanover Sq.', 'London', 'WA1 1DP', 'United Kingdom'), (5, 'Paula Parente', 'Female', 'Rua do Mercado, 12', 'Resende', '08737-363', 'Brazil'), (6, 'Wolski Zbyszek', 'Male', 'ul. Filtrowa 68', 'Walla', '01-012', 'Poland'), (7, 'Matti Karttunen', 'Male', 'Keskuskatu 45', 'Helsinki', '21240', 'Finland'), (8, 'Karl Jablonski', 'Male', '305 - 14th Ave. S. Suite 3B', 'Seattle', '98128', 'United States'), (9, 'Paula Parente', 'Female', 'Rua do Mercado, 12', 'Resende', '08737-363', 'Brazil'), (10, 'John Koskitalo', 'Male', 'Torikatu 38', 'Oulu', '90110', 'Finland'), (39, 'Ann Devon', 'Female', '35 King George', 'London', 'WX3 6FW', 'United Kingdom'), (38, 'Janine Labrune', 'Female', '67, rue des Cinquante Otages', 'Nantes', '44000', 'Finland'), (37, 'Kathryn Segal', 'Female', 'Augsburger Strabe 40', 'Ludenscheid Gevelndorf', '58513', 'Germany'), (36, 'Elizabeth Brown', 'Female', 'Berkeley Gardens 12 Brewery', 'London', 'WX1 6LT', 'United Kingdom'), (30, 'Trina Davidson', 'Female', '1049 Lockhart Drive', 'Barrie', 'ON L4M 3B1', 'Canada'), (31, 'Jeff Putnam', 'Male', 'Industrieweg 56', 'Bouvignies', '7803', 'Belgium'), (32, 'Joyce Rosenberry', 'Female', 'Norra Esplanaden 56', 'HELSINKI', '380', 'Finland'), (33, 'Ronald Bowne', 'Male', '2343 Shadowmar Drive', 'New Orleans', '70112', 'United States'), (34, 'Justin Adams', 'Male', '45, rue de Lille', 'ARMENTIERES', '59280', 'France'), (35, 'Pedro Afonso', 'Male', 'Av. dos Lusiadas, 23', 'Sao Paulo', '05432-043', 'Brazil'), (100, 'Kathryn Segal', 'Female', 'Augsburger Strabe 40', 'Ludenscheid Gevelndorf', '58513', 'Germany'), (101, 'Tonia Sayre', 'Female', '84 Haslemere Road', 'ECHT', 'AB32 2DY', 'United Kingdom'), (102, 'Loretta Harris', 'Female', 'Avenida Boavista 71', 'SANTO AMARO', '4920-111', 'Portugal'), (103, 'Sean Wong', 'Male', 'Rua Vito Bovino, 240', 'Sao Paulo-SP', '04677-002', 'Brazil'), (104, 'Frederick Sears', 'Male', 'ul. Marysiuska 64', 'Warszawa', '04-617', 'Poland'), (105, 'Tammy Cantrell', 'Female', 'Lukiokatu 34', 'HAMEENLINNA', '13250', 'Finland'), (106, 'Megan Kennedy', 'Female', '1210 Post Farm Road', 'Norcross', '30071', 'United States'), (107, 'Maria Whittaker', 'Female', 'Spresstrasse 62', 'Bielefeld Milse', '33729', 'Germany'), (108, 'Dorothy Parker', 'Female', '32 Lairg Road', 'NEWCHURCH', 'HR5 5DR', 'United Kingdom'), (109, 'Roger Rudolph', 'Male', 'Avenida Julio Saul Dias 78', 'PENAFIEL', '4560-470', 'Portugal'), (110, 'Karen Metivier', 'Female', 'Rua Guimaraes Passos, 556', 'Sao Luis-MA', '65025-450', 'Brazil'), (111, 'Charles Hoover', 'Male', 'Al. Tysiaclecia 98', 'Warszawa', '03-851', 'Poland'), (112, 'Becky Moss', 'Female', 'Laivurinkatu 6', 'MIKKELI', '50120', 'Finland'), (113, 'Frank Kidd', 'Male', '2491 Carson Street', 'Cincinnati', 'KY 45202', 'United States'), (114, 'Donna Wilson', 'Female', 'Hallesches Ufer 69', 'Dettingen', '73265', 'Germany'), (115, 'Lillian Roberson', 'Female', '36 Iolaire Road', 'NEW BARN', 'DA3 3FT', 'United Kingdom'); -- -------------------------------------------------------- -- -- Table structure for table `tempconsumptiontb` -- CREATE TABLE `tempconsumptiontb` ( `consumptiondate` date DEFAULT NULL, `area` varchar(200) DEFAULT NULL, `subarea` varchar(200) DEFAULT NULL, `totalconsumption` decimal(10,4) DEFAULT NULL, `isdeleted` int(11) DEFAULT NULL, `userid` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tempconsumptiontb` -- INSERT INTO `tempconsumptiontb` (`consumptiondate`, `area`, `subarea`, `totalconsumption`, `isdeleted`, `userid`) VALUES ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-25', 'Main Power Consumption', 'CLS Solar', '15000.0000', 0, 2), ('2023-11-25', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '7000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-11-16', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-01', '35435.0000', 0, 2), ('2023-12-09', 'Main Power Consumption', 'CLS Solar', '6787.0000', 0, 2), ('2023-12-09', 'Main Power Consumption', 'Total DG Electricity Generation in Phase-01', '4545.4000', 0, 2), ('2023-11-14', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '34666.0000', 0, 2), ('2023-12-09', 'Main Power Consumption', 'CLS Solar', '45466.8000', 0, 2), ('2023-11-17', 'Main Power Consumption', 'Total EB Electricity Consumption in Phase-02', '3000.0000', 0, 2); -- -------------------------------------------------------- -- -- Table structure for table `test` -- CREATE TABLE `test` ( `student` text NOT NULL, `contribution` int(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `test` -- INSERT INTO `test` (`student`, `contribution`) VALUES ('abc', 10), ('ajay', 20), ('pawan', 30), ('sachin', 40); -- -------------------------------------------------------- -- -- Stand-in structure for view `v_consumptiondetails` -- (See below for the actual view) -- CREATE TABLE `v_consumptiondetails` ( `consumid` int(11) ,`consuptiondate` date ,`areaid` int(11) ,`area` varchar(100) ,`subareaid` int(11) ,`subarea` varchar(100) ,`mincon` decimal(10,0) ,`maxcon` decimal(10,0) ,`totalconsumption` decimal(10,4) ,`isdeleted` int(11) ,`userid` int(11) ,`creationdatetime` datetime ,`modificationdatetime` datetime ,`modifiedbyuserid` int(11) ); -- -------------------------------------------------------- -- -- Stand-in structure for view `v_tempconsumptiontb` -- (See below for the actual view) -- CREATE TABLE `v_tempconsumptiontb` ( `consumptiondate` date ,`area` varchar(200) ,`subarea` varchar(200) ,`totalconsumption` decimal(10,4) ,`minconsumption` decimal(10,0) ,`maxconsumption` decimal(10,0) ,`isdeleted` int(11) ,`userid` int(11) ); -- -------------------------------------------------------- -- -- Structure for view `v_consumptiondetails` -- DROP TABLE IF EXISTS `v_consumptiondetails`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_consumptiondetails` AS select `con`.`consumid` AS `consumid`,`con`.`consuptiondate` AS `consuptiondate`,`con`.`areaid` AS `areaid`,`masarea`.`area` AS `area`,`con`.`subareaid` AS `subareaid`,`massubarea`.`subarea` AS `subarea`,`massubarea`.`minconsumption` AS `mincon`,`massubarea`.`maxconsumption` AS `maxcon`,`con`.`totalconsumption` AS `totalconsumption`,`con`.`isdeleted` AS `isdeleted`,`con`.`userid` AS `userid`,`con`.`creationdatetime` AS `creationdatetime`,`con`.`modificationdatetime` AS `modificationdatetime`,`con`.`modifiedbyuserid` AS `modifiedbyuserid` from ((`consumptiontb` `con` left join `mastertb` `masarea` on(`con`.`areaid` = `masarea`.`id`)) left join `mastertb` `massubarea` on(`con`.`subareaid` = `massubarea`.`id`)) ; -- -------------------------------------------------------- -- -- Structure for view `v_tempconsumptiontb` -- DROP TABLE IF EXISTS `v_tempconsumptiontb`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_tempconsumptiontb` AS select `temp`.`consumptiondate` AS `consumptiondate`,`temp`.`area` AS `area`,`temp`.`subarea` AS `subarea`,`temp`.`totalconsumption` AS `totalconsumption`,`mas`.`minconsumption` AS `minconsumption`,`mas`.`maxconsumption` AS `maxconsumption`,`temp`.`isdeleted` AS `isdeleted`,`temp`.`userid` AS `userid` from (`tempconsumptiontb` `temp` left join `mastertb` `mas` on(`temp`.`subarea` = `mas`.`subarea`)) ; -- -- Indexes for dumped tables -- -- -- Indexes for table `consumptiontb` -- ALTER TABLE `consumptiontb` ADD PRIMARY KEY (`consumid`); -- -- Indexes for table `createusertb` -- ALTER TABLE `createusertb` ADD PRIMARY KEY (`id`); -- -- Indexes for table `mastertb` -- ALTER TABLE `mastertb` ADD PRIMARY KEY (`id`); -- -- Indexes for table `permissiontb` -- ALTER TABLE `permissiontb` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `consumptiontb` -- ALTER TABLE `consumptiontb` MODIFY `consumid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1372; -- -- AUTO_INCREMENT for table `createusertb` -- ALTER TABLE `createusertb` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `mastertb` -- ALTER TABLE `mastertb` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `permissiontb` -- ALTER TABLE `permissiontb` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=142; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Copyright © 2025 - UnknownSec