I am trying to alter a table to add a column and than update that column with integer values from 0 to 5. I keep getting a syntax error near my WHERE clause. Here's is what I wrote:
alter table aggregator_table
add access_level integer
WHERE access_level == 0 and access_level<=5
Can anyone help me? Thanks.
alter table aggregator_table
add access_level integer
WHERE access_level == 0 and access_level<=5
Can anyone help me? Thanks.