“MySQL Excluir linha” Respostas de código

MySQL Excluir linha

DELETE FROM products WHERE product_id=1;
Mobile Star

Exclua o registro MySQL Consulta

DELETE FROM table_name WHERE condition;
In this statement: First, specify the table from which you delete data.
Second, use a condition to specify which rows to delete in the WHERE clause.

for example:
DELETE FROM customers WHERE id = 1;
Delightful Dogfish

Procedimento armazenado para excluir dados da tabela em MySQL

mysql> DELIMITER // ;
mysql> Create Procedure Delete_studentinfo ( IN p_id INT)
    -> BEGIN
    -> DELETE FROM student_info
    -> WHERE ID=p_id;
    -> END //
Query OK, 0 rows affected (0.11 sec)

mysql> DELIMITER ; //
Clear Chamois

Respostas semelhantes a “MySQL Excluir linha”

Perguntas semelhantes a “MySQL Excluir linha”

Mais respostas relacionadas para “MySQL Excluir linha” em Sql

Procure respostas de código populares por idioma

Procurar outros idiomas de código