I am adding a second answer because of your response to my first answer. This answer applies since:
- You are using Oracle, and
- You have already created the table, so you need to use "ALTER TABLE" syntax.
Please find enclosed the following:
alter table
mystery
modify
BEST_SELLER char(1) DEFAULT 'N'
Please modify the type char(1)
to whatever the column actually is. After running this query to correct the table, you will need to issue a second query to update the existing rows, such as:
UPDATE
mystery
SET
BEST_SELLER = 'N'
WHERE
BEST_SELLER = ''
OR BEST_SELLER IS NULL
Hope this helps.