SELECT LTRIM(' plus2net.com')// Output plus2net.com
UPDATE student SET name=LTRIM(name)
We can add space to a column and also display the same after removing space.
SELECT concat(' ',name), ltrim(concat(' ',name)) from student
Read more on CONCAT
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.