An Error Was Encountered

Error Number: 1054

Unknown column 'blog' in 'where clause'

SELECT DISTINCT categories.id, categories.name, categories.description FROM categories, post2cat WHERE ((categories.id = post2cat.category_id) AND (post2cat.post_id = blog)) ORDER BY categories.name ASC