mysql
SELECT CONCAT(first_name, ' ', last_name) AS 'Name', dept FROM users;
ap_Cooperative_dev
SELECT CONCAT(first_name, ' ', last_name) AS 'Name', dept FROM users;
DELETE FROM table_name;
UPDATE mysql.user SET host='%' WHERE user='root';
DELETE FROM `utilisateur` WHERE `id` = '2';
json_extract(bms, '$.cell_voltage_1')
delimiter $$
create procedure select_or_insert()
begin
IF EXISTS (select * from users where username = 'something') THEN
update users set id= 'some' where username = 'something';
ELSE
insert into users (username) values ('something');
END IF;
end $$
delimiter ;
sudo mysql -u root -p
GROUP_CONCAT(IF(column1='', null, column1))
INSERT INTO`table2`(name, email)
SELECT name, email
FROM `table1`