-- https://www.phpmyadmin.net/
--

START TRANSACTION;



-- --------------------------------------------------------

--
-- Table structure for table `cust`
--

CREATE TABLE `cust` (
  `Id` int(50) NOT NULL,
  `Customer_name` text NOT NULL,
  `Email` varchar(50) NOT NULL,
  `Number` int(50) NOT NULL,
  `Address` varchar(50) NOT NULL,
  `City` text NOT NULL,
  `Regis_date` date NOT NULL,
  `total_orders` int(50) NOT NULL,
  `total_amount` int(50) NOT NULL,
  `account_status` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `cust`
--

INSERT INTO `cust` (`Id`, `Customer_name`, `Email`, `Number`, `Address`, `City`, `Regis_date`, `total_orders`, `total_amount`, `account_status`) VALUES
(9, 'Bhairavi', 'sonam@123', 560000, 'active', 'active', '2024-02-16', 560000, 560000, ' active'),
(10, 'active', 'priyanka12@gmail.com', 580000, 'active', 'active', '2024-02-27', 580000, 580000, 'active'),
(11, 'active', 'Kajal23@gmail.com', 90000, 'active', 'active', '2024-02-26', 90000, 90000, 'active'),
(12, 'active', 'rap@gmail.com', 50000, 'active', 'active', '2024-02-15', 50000, 50000, 'active'),
(13, 'deactive', 'Kar@123', 1000, 'deactive', 'deactive', '2024-02-28', 1000, 1000, 'deactive');

-- --------------------------------------------------------

--
-- Table structure for table `deli`
--

CREATE TABLE `deli` (
  `Id` int(50) NOT NULL,
  `first_name` varchar(50) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `Address` varchar(50) NOT NULL,
  `City` varchar(50) NOT NULL,
  `Product` varchar(50) NOT NULL,
  `payment` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `deli`
--

INSERT INTO `deli` (`Id`, `first_name`, `last_name`, `Address`, `City`, `Product`, `payment`) VALUES
(1, 'Shruti', 'Gaikwad', 'Gokuldham nagar , Navi mumbai , Maharastra', 'Mumbai', '', ''),
(3, 'Gayatri', 'Jadhav', 'Gangapur Naka', 'Nashik', 'Chair', ''),
(8, 'Rani', 'Jadhav', 'Fulambri', 'Aurangabad', 'Chair', 'Debit Card'),
(9, 'Soham ', 'Gaikwad', 'nashik', 'Nashik', 'Chair', 'Credit Card'),
(10, 'Samruddhi', 'Jadhav', 'ambad', 'london', 'Chair', 'Debit Card'),
(11, 'Shreya', 'Pingale', 'Gangapur Road', 'Nashik', 'Chair', 'Credit Card'),
(14, 'Priyanaka', 'Gaikwad', 'Sankalp Society , gandhi nagar', 'Nashik', 'Sofa', 'Credit Card'),
(15, 'Vaishu', 'Salunke', 'Sanket Society , Gangapur naka', 'Nashik', 'Bed', 'Credit Card'),
(16, 'Anam', 'Shaikh', 'street 123', 'Nashik', 'Bed', 'cash'),
(19, 'radha', 'sali', 'karmayogi nagar', 'nashik', 'sofa', 'online'),
(20, 'Sakshi', 'Gaikwad', 'ggsf', 'Nashik', 'kitchen ', 'cash'),
(21, 'Shruti', 'Shelke', 'Nashik', 'Nashik', 'Sofa', 'online'),
(22, 'Piyush', 'Kulkarni', 'ggsf', 'Nashik', 'Chair', 'cash'),
(23, 'Suman', 'kk', 'Nashik', 'Nashik', 'NAshik', 'Nashik'),
(24, 'Shambu', 'Gaikwad', 'Nashik', 'Nashik', 'Chair', 'Cash');

-- --------------------------------------------------------

--
-- Table structure for table `ortable`
--

CREATE TABLE `ortable` (
  `total_amount` int(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `ortable`
--

INSERT INTO `ortable` (`total_amount`) VALUES
(450000),
(560),
(50000),
(67000);

-- --------------------------------------------------------

--
-- Table structure for table `otable`
--

CREATE TABLE `otable` (
  `ID` int(50) NOT NULL,
  `date_placed` date NOT NULL,
  `customer_name` varchar(50) NOT NULL,
  `order_status` varchar(50) NOT NULL,
  `total_amount` int(50) NOT NULL,
  `shipping_info` varchar(50) NOT NULL,
  `operation` int(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `otable`
--

INSERT INTO `otable` (`ID`, `date_placed`, `customer_name`, `order_status`, `total_amount`, `shipping_info`, `operation`) VALUES
(2, '2024-02-13', 'Rahul', 'Pending', 453000, 'truck', 0),
(7, '2024-01-30', 'Sahil Wankhede', 'Delivered', 54800, 'container', 0),
(11, '2024-02-07', 'sheldon', 'Delivered', 4300, 'truck', 0),
(12, '2024-02-04', 'sonam Kapoor', 'Not shipped', 1000, 'motor', 0),
(19, '2024-02-07', 'Gabrial', 'Pending', 98800, 'Ship', 0),
(20, '2024-01-30', 'Sheldon', 'Delivered', 1000, 'Ship', 0),
(21, '2024-02-14', 'shruti', 'Pending', 1000, 'motor', 0),
(22, '2024-02-07', 'Penny', 'Shipping', 987200, 'truck', 0),
(23, '2024-02-14', 'Bansi', 'Delivered', 9800000, 'Ship', 0),
(24, '2024-02-14', 'bhairavi', 'Delivered', 98562000, 'container', 0),
(25, '2024-02-07', 'Sheldon', 'Delivered', 90000, 'Ship', 0),
(26, '2024-02-27', 'Prajakta Koli', 'Delivered', 892000, 'truck', 0),
(27, '2024-03-08', 'Lalit Jadhav', 'Pending', 90000, 'container', 0);

-- --------------------------------------------------------

--
-- Table structure for table `sale`
--

CREATE TABLE `sale` (
  `Id` int(50) NOT NULL,
  `date_time` date NOT NULL,
  `customer_name` varchar(50) NOT NULL,
  `product_purchase` varchar(50) NOT NULL,
  `total_amount` varchar(50) NOT NULL,
  `payment_method` varchar(50) NOT NULL,
  `shipping_method` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sale`
--

INSERT INTO `sale` (`Id`, `date_time`, `customer_name`, `product_purchase`, `total_amount`, `payment_method`, `shipping_method`) VALUES
(12, '2024-02-27', 'Sahil Wankhede', 'Cookware', '65000', 'credit card', 'container');

-- --------------------------------------------------------

--
-- Table structure for table `sample`
--

CREATE TABLE `sample` (
  `ID` varchar(50) NOT NULL,
  `text_input` varchar(50) NOT NULL,
  `number_input` int(50) NOT NULL,
  `email_input` varchar(50) NOT NULL,
  `textarea_input` varchar(50) NOT NULL,
  `radio_input` varchar(50) NOT NULL,
  `checkbox_input` varchar(50) NOT NULL,
  `select_input` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sample`
--

INSERT INTO `sample` (`ID`, `text_input`, `number_input`, `email_input`, `textarea_input`, `radio_input`, `checkbox_input`, `select_input`) VALUES
('', 'jkssnnd', 1, 'shruti@123', '123', 'Female', 'Reading', 'English'),
('1', 'Shruti', 123, 'shruti@123', '123', '123', '123', '123'),
('2', 'Bhairavi', 1234, 'b@123', 'true', 'wed', 'wer', 'sd');

--
-- Indexes for table `cust`
--
ALTER TABLE `cust`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `deli`
--
ALTER TABLE `deli`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `otable`
--
ALTER TABLE `otable`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `sale`
--
ALTER TABLE `sale`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sample`
--
ALTER TABLE `sample`
  ADD PRIMARY KEY (`ID`) USING BTREE;

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `cust`
--
ALTER TABLE `cust`
  MODIFY `Id` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `deli`
--
ALTER TABLE `deli`
  MODIFY `Id` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `otable`
--
ALTER TABLE `otable`
  MODIFY `ID` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `sale`
--
ALTER TABLE `sale`
  MODIFY `Id` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
COMMIT;

