Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in SQL by (20.3k points)

Is it possible to copy data from column A to column B for all records in a table in SQL?

1 Answer

0 votes
by (40.4k points)

Use this code:

UPDATE table SET columnB = columnA;

This will be useful to update every row.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94k users

Browse Categories