UPDATE `table` SET `column` = 'value' WHERE `$column_to_filter` = '$value_to_filter';
      Sql language logo

      update table

      SQL public snippets

      The code updates the user input values in the table at row 1, column 2 with the value in the user input at row 3 and 4. The column referenced in the UPDATE statement is specified by the :column parameter.

      Shortcut: s_u


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.