Skip to content

Instantly share code, notes, and snippets.

@medanincode
Last active June 2, 2020 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medanincode/941a3cfa68d8809c3142ce19a4af6d18 to your computer and use it in GitHub Desktop.
Save medanincode/941a3cfa68d8809c3142ce19a4af6d18 to your computer and use it in GitHub Desktop.
Corona Sql untuk tutorial di https://medanincode.com
--
-- Table structure for table `corona`
--
CREATE TABLE `corona` (
`id` int(11) NOT NULL,
`jumlah` int(11) NOT NULL,
`tgl` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `corona`
--
INSERT INTO `corona` (`id`, `jumlah`, `tgl`) VALUES
(1, 0, '2020-01-22'),
(2, 0, '2020-01-23'),
(3, 0, '2020-01-24'),
(4, 0, '2020-01-25'),
(5, 0, '2020-01-26'),
(6, 0, '2020-01-27'),
(7, 0, '2020-01-28'),
(8, 0, '2020-01-29'),
(9, 0, '2020-01-30'),
(10, 0, '2020-01-31'),
(11, 0, '2020-02-01'),
(12, 0, '2020-02-02'),
(13, 0, '2020-02-03'),
(14, 0, '2020-02-04'),
(15, 0, '2020-02-05'),
(16, 0, '2020-02-06'),
(17, 0, '2020-02-07'),
(18, 0, '2020-02-08'),
(19, 0, '2020-02-09'),
(20, 0, '2020-02-10'),
(21, 0, '2020-02-11'),
(22, 0, '2020-02-12'),
(23, 0, '2020-02-13'),
(24, 0, '2020-02-14'),
(25, 0, '2020-02-15'),
(26, 0, '2020-02-16'),
(27, 0, '2020-02-17'),
(28, 0, '2020-02-18'),
(29, 0, '2020-02-19'),
(30, 0, '2020-02-20'),
(31, 0, '2020-02-21'),
(32, 0, '2020-02-22'),
(33, 0, '2020-02-23'),
(34, 0, '2020-02-24'),
(35, 0, '2020-02-25'),
(36, 0, '2020-02-26'),
(37, 0, '2020-02-27'),
(38, 0, '2020-02-28'),
(39, 0, '2020-02-29'),
(40, 0, '2020-03-01'),
(41, 2, '2020-03-02'),
(42, 2, '2020-03-03'),
(43, 2, '2020-03-04'),
(44, 2, '2020-03-05'),
(45, 4, '2020-03-06'),
(46, 4, '2020-03-07'),
(47, 6, '2020-03-08'),
(48, 19, '2020-03-09'),
(49, 27, '2020-03-10'),
(50, 34, '2020-03-11'),
(51, 34, '2020-03-12'),
(52, 69, '2020-03-13'),
(53, 96, '2020-03-14'),
(54, 117, '2020-03-15'),
(55, 134, '2020-03-16'),
(56, 172, '2020-03-17'),
(57, 227, '2020-03-18'),
(58, 311, '2020-03-19'),
(59, 369, '2020-03-20'),
(60, 450, '2020-03-21'),
(61, 514, '2020-03-22'),
(62, 579, '2020-03-23'),
(63, 686, '2020-03-24'),
(64, 790, '2020-03-25'),
(65, 893, '2020-03-26'),
(66, 1046, '2020-03-27'),
(67, 1155, '2020-03-28'),
(68, 1285, '2020-03-29'),
(69, 1414, '2020-03-30'),
(70, 1528, '2020-03-31'),
(71, 1677, '2020-04-01'),
(72, 1790, '2020-04-02'),
(73, 1986, '2020-04-03'),
(74, 2092, '2020-04-04'),
(75, 2273, '2020-04-05'),
(76, 2491, '2020-04-06'),
(77, 2738, '2020-04-07'),
(78, 2956, '2020-04-08'),
(79, 3293, '2020-04-09'),
(80, 3512, '2020-04-10'),
(81, 3842, '2020-04-11'),
(82, 4241, '2020-04-12'),
(83, 4557, '2020-04-13'),
(84, 4839, '2020-04-14'),
(85, 5136, '2020-04-15'),
(86, 5516, '2020-04-16'),
(87, 5923, '2020-04-17'),
(88, 6248, '2020-04-18'),
(89, 6575, '2020-04-19'),
(90, 6760, '2020-04-20'),
(91, 7135, '2020-04-21'),
(92, 7418, '2020-04-22');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `corona`
--
ALTER TABLE `corona`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `corona`
--
ALTER TABLE `corona`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=93;
COMMIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment