0% found this document useful (0 votes)
18 views1 page

Test MySQL Code

Uploaded by

aabapurbo2083
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Test MySQL Code

Uploaded by

aabapurbo2083
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

//---------------------------------------- Test

CREATE TABLE `esp32_table_test` (


`id` varchar(255) NOT NULL,
`temperature` float(10,2) NOT NULL,
`humidity` int(3) NOT NULL,
`status_read_sensor_dht11` varchar(255) NOT NULL,
`LED_01` varchar(255) NOT NULL,
`LED_02` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
//----------------------------------------

//----------------------------------------
INSERT INTO `esp32_table_test`(`id`, `temperature`, `humidity`,
`status_read_sensor_dht11`, `LED_01`, `LED_02`) VALUES
('esp32_01','0.00','0','SUCCESS','OFF','OFF')
//----------------------------------------

You might also like