forked from hardiksharma11/Len-Den
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproducts.sql
64 lines (52 loc) · 1.79 KB
/
products.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 24, 2022 at 02:17 PM
-- Server version: 10.4.25-MariaDB
-- PHP Version: 8.1.10
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: `hardik`
--
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`productid` int(11) NOT NULL,
`itemname` varchar(200) NOT NULL,
`desc` varchar(500) NOT NULL,
`price` float NOT NULL,
`category` varchar(50) NOT NULL,
`image` longblob NOT NULL,
`isSold` varchar(2) NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`productid`, `itemname`, `desc`, `price`, `category`, `image`, `isSold`) VALUES
(1, 'helen', 'A very nice book ', 300, 'Books', 0x626f6f6b73312e6a7067, 'N'),
(2, 'akdkd', 'adldld', 20, 'other', 0x646f776e6c6f61642e6a7067, 'N'),
(3, 'cooler-A234', 'Awesome cooler in working state ', 2000, 'Electronics', 0x646f776e6c6f61642e6a7067, 'N'),
(4, 'akdkd', 'adldld', 20, 'other', 0x646f776e6c6f61642e6a7067, 'N'),
(5, 'akdkd', 'adldld', 20, 'other', 0x646f776e6c6f61642e6a7067, 'N');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`productid`);
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 */;