Hello!
I need to ask for a little help to build SQL query to delete some records!
Table structure:
charId
int(10) DEFAULT NULL,schameid
int(10) NOT NULL AUTO_INCREMENT,name
varchar(250) DEFAULT '',skills
varchar(500) DEFAULT '',
PRIMARY KEY (schameid
)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
Some times record skills
is empty and it is causing problems for me, how can i delete whole row for this user IF there is no data saved in skills
?
Thanks!