-
Notifications
You must be signed in to change notification settings - Fork 41
/
tab.sql
94 lines (75 loc) · 2.34 KB
/
tab.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
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 26, 2020 at 09:43 AM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 7.3.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `tab`
--
-- --------------------------------------------------------
--
-- Table structure for table `hospital`
--
CREATE TABLE `hospital` (
`name` varchar(50) CHARACTER SET utf8 NOT NULL,
`lat` decimal(10,8) NOT NULL,
`lng` decimal(10,8) NOT NULL,
`TotalBeds` int(50) NOT NULL,
`Patients` int(50) NOT NULL,
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `hospital`
--
INSERT INTO `hospital` (`name`, `lat`, `lng`, `TotalBeds`, `Patients`, `id`) VALUES
('Bharat Kelkar Hospital', '19.98627000', '73.77989930', 100, 84, 1),
('Vimal Hospital', '19.98776220', '73.78086490', 90, 73, 2),
('Wockhardt Hospital', '19.98944600', '73.78592890', 200, 158, 3),
('Civil Hospital', '19.99688540', '73.77600970', 200, 178, 4),
('Sudarshan Hospital', '19.99163410', '73.78325930', 80, 42, 5),
('Tulasi Hospital', '19.99163380', '73.77669320', 100, 58, 6);
-- --------------------------------------------------------
--
-- Table structure for table `userslivelocation`
--
CREATE TABLE `userslivelocation` (
`uid` varchar(50) NOT NULL,
`lat` decimal(10,8) NOT NULL,
`lng` decimal(10,8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `userslivelocation`
--
INSERT INTO `userslivelocation` (`uid`, `lat`, `lng`) VALUES
('user1', '19.99237010', '73.78427850');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `hospital`
--
ALTER TABLE `hospital`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `hospital`
--
ALTER TABLE `hospital`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
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 */;