-
Notifications
You must be signed in to change notification settings - Fork 0
/
bidding.sql
125 lines (100 loc) · 3.84 KB
/
bidding.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
116
117
118
119
120
121
122
123
124
125
-- phpMyAdmin SQL Dump
-- version 4.1.6
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Apr 04, 2014 at 12:06 PM
-- Server version: 5.5.36
-- PHP Version: 5.4.25
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 utf8 */;
--
-- Database: `bidding`
--
-- --------------------------------------------------------
--
-- Table structure for table `add_products`
--
CREATE TABLE IF NOT EXISTS `add_products` (
`p_id` int(11) NOT NULL AUTO_INCREMENT,
`p_name` varchar(30) NOT NULL,
`category` varchar(30) NOT NULL,
`price` varchar(30) NOT NULL,
`image` varchar(50) NOT NULL,
`desp` varchar(255) NOT NULL,
PRIMARY KEY (`p_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Dumping data for table `add_products`
--
INSERT INTO `add_products` (`p_id`, `p_name`, `category`, `price`, `image`, `desp`) VALUES
(7, 'sample design', 'Painting', '3500', 'audi.jpg', 'Looking good'),
(5, 'Android Logo', 'Mat Painting', '25000', 'Android_logo.jpg', 'Nice Logo'),
(6, 'Umberla', 'Mat Painting', '800', 'umberla.jpg', 'Nice Design'),
(8, '', '', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`admin` varchar(20) NOT NULL,
`pwd` varchar(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`admin`, `pwd`) VALUES
('admin', 'admin123');
-- --------------------------------------------------------
--
-- Table structure for table `bidding`
--
CREATE TABLE IF NOT EXISTS `bidding` (
`bid_id` int(3) NOT NULL AUTO_INCREMENT,
`date` date NOT NULL,
`product_name` varchar(30) NOT NULL,
`category` varchar(30) NOT NULL,
`price` varchar(20) NOT NULL,
`bid_price` varchar(20) NOT NULL,
`name` varchar(30) NOT NULL,
`email` varchar(30) NOT NULL,
`add` varchar(100) NOT NULL,
`ph` bigint(10) NOT NULL,
PRIMARY KEY (`bid_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `bidding`
--
INSERT INTO `bidding` (`bid_id`, `date`, `product_name`, `category`, `price`, `bid_price`, `name`, `email`, `add`, `ph`) VALUES
(6, '2014-04-01', 'sample design', 'Painting', '3500', '4200', 'Sujith', '[email protected]', 'Kerala', 9845475987),
(2, '2014-04-03', 'sample design', 'Painting', '3500', '4000', 'sailesh', '[email protected]', 'Coimbatore', 8122549775),
(5, '2014-04-02', 'Android Logo', 'Mat Painting', '25000', '3200', 'sailesh', '[email protected]', 'Sulur', 8122549775),
(4, '2014-04-03', 'Android Logo', 'Mat Painting', '25000', '3200', 'sujith', '[email protected]', 'Coimbatore', 987454212);
-- --------------------------------------------------------
--
-- Table structure for table `user_registration`
--
CREATE TABLE IF NOT EXISTS `user_registration` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`f_name` varchar(30) NOT NULL,
`l_name` varchar(30) NOT NULL,
`email` varchar(30) NOT NULL,
`pass` varchar(30) NOT NULL,
`dob` varchar(30) NOT NULL,
`gender` varchar(30) NOT NULL,
`address` varchar(30) NOT NULL,
`phone` varchar(12) NOT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `user_registration`
--
INSERT INTO `user_registration` (`user_id`, `f_name`, `l_name`, `email`, `pass`, `dob`, `gender`, `address`, `phone`) VALUES
(4, 'sujith', 'Kumar', '[email protected]', '12345', '14-06-1989', 'male', 'coimbatore', '8122549775');
/*!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 */;