I'm having trouble inserting into the database, could anyone tell me what the possible problems are?
SQL 1:
INSERT INTO data_inicio (data_sys, descricao)
VALUES (NOW(),'Data de inicio');
Error in sql: Unexpected token near 'Start date'
SQL 2:
INSERT INTO curso_desconto (id_curso,id_desconto) VALUES((SELECT
MAX(id) FROM curso), '1');
Error in this sql: comma or a closing bracket was expected