-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvendor.sql
115 lines (93 loc) · 3 KB
/
vendor.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
-- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 14, 2017 at 04:40 PM
-- Server version: 5.7.16-0ubuntu0.16.04.1
-- PHP Version: 7.0.8-0ubuntu0.16.04.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `vendor`
--
-- --------------------------------------------------------
--
-- Table structure for table `qoutation`
--
CREATE TABLE `qoutation` (
`company` varchar(100) NOT NULL,
`items` varchar(100) NOT NULL,
`quantity` int(100) NOT NULL,
`total` int(100) NOT NULL,
`discount` varchar(100) NOT NULL,
`amount` int(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `qoutation`
--
INSERT INTO `qoutation` (`company`, `items`, `quantity`, `total`, `discount`, `amount`) VALUES
('aiktc', 'Aspirin', 500, 5000, '20', 4000),
('ash', 'Dispirin', 100, 1000, '10', 900),
('d;gksd;lmkg', 'Crocin', 100, 5000, '1200', 65435),
('global1', 'Dicologem', 100, 1000, '0', 1000),
('globalmedical', 'Diclogem', 10000, 5000, '0', 4500),
('happy', 'Aspirin', 10, 1000, '0', 4000),
('kjj', 'Crocin', 100, 100, '10%', 15000),
('zohar', 'Crocin', 10, 20, '0', 20);
-- --------------------------------------------------------
--
-- Table structure for table `vendorlogin`
--
CREATE TABLE `vendorlogin` (
`mobileno` int(12) NOT NULL,
`password` varchar(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `vendorregister`
--
CREATE TABLE `vendorregister` (
`name` varchar(20) NOT NULL,
`email` varchar(20) NOT NULL,
`mobileno` int(12) NOT NULL,
`password` varchar(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `vendorregister`
--
INSERT INTO `vendorregister` (`name`, `email`, `mobileno`, `password`) VALUES
('zohar', 'zohar', 100, '100'),
('pradynesh', '[email protected]', 420, '240'),
('galib', '[email protected]', 123456, '123'),
('shanu', '[email protected]', 232323, '1230'),
('taha', '[email protected]', 252525, '12345'),
('hussain', '[email protected]', 556655, '1002'),
('Mehfooz', '[email protected]', 123123123, '123'),
('Aliakbar Nathani', '[email protected]', 123456789, '123'),
('Mehfooz', '[email protected]', 1231231234, '123');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `qoutation`
--
ALTER TABLE `qoutation`
ADD PRIMARY KEY (`company`);
--
-- Indexes for table `vendorlogin`
--
ALTER TABLE `vendorlogin`
ADD PRIMARY KEY (`mobileno`);
--
-- Indexes for table `vendorregister`
--
ALTER TABLE `vendorregister`
ADD PRIMARY KEY (`mobileno`);
/*!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 */;