I trying to delete an entry from a table in mysql the table is for publications This is the table.
CREATE TABLE publication(pub_id VARCHAR(4) NOT NUll,
price DECIMAL(3, 2) NOT NULL,
name VARCHAR(20) NOT NULL,
frequency INTEGER(10) NOT NULL,
PRIMARY KEY(pub_id) );
This is the table with added entries
The query i'm using is
Delete from publication where pub_id = P001;
I get an error "Unknown column 'P001' in where clause"
What am I doing wrong?