I have two table :
news:
|id|title|image|timestamp|....
tags:
|id|books_id|...
for result:
("SELECT id,title,front_thumbs,short_desc,timestamp,counter,author,
FROM " . NEWS . " LEFT JOIN " . TAGS . " ON " NEWS . ".id = " . TAGS . ".content_id WHERE
" . TAGS . ".tags_id = ? AND approved = 1 ORDER BY timestamp DESC LIMIT 10", $id)
but I see this error:
Error: Column 'id' in field list is ambiguous
how do fix this error?