I'm pretty new to SQL. I'm practicing on a dataset I downloaded, unfortunately some int type columns became varchar when I imported them. I need to change them back into int.
I tried to create a temp table, create the correct schema for the table with appropriate datatype for all columns, then dump everything back. I got an int column with a mixture of int and empty strings. How do I convert empty strings to zeros? Thank you.