I'm seeing this query in my codes:
INSERT INTO comments (post_id, user_id, table_code, content, author_id, pinged_id, date_time) SELECT ?,?,?,?,?,?,? FROM qanda qa, users u WHERE qa.id=? and author_id IS NULL limit 1;
I've written query above already .. Now I believe
, user u is redundant in my query. Am I right?
Do you know why I'm asking this question? Because always there is a reason in the behind of all my codes. Now I cannot remember what's the reason of writing this
, users u. That's why I worry to remove it.
, users u changes something? or it totally redundant?