Answers for "sql create column and set value"

SQL
0

Insert and initialize a SQL column with value dependent on another column data

UPDATE table
SET col = new_value
WHERE col = old_value
AND other_col = some_other_value;

UPDATE table
SET col = new_value
WHERE col = old_value
OR other_col = some_other_value;
Posted by: Guest on June-29-2020
-2

how to make new column in sql

<?php
 
    echo str_replace("john", "jack", "hello i am john"); 
 
?>
Posted by: Guest on January-15-2021

Code answers related to "sql create column and set value"

Code answers related to "SQL"

Browse Popular Code Answers by Language