Anfrage fehlgeschlagen: (select
movie_id,
tag,
count(tag) as z,
tv_movies.id,
tv_movies.category_id,
tv_movies.name,
tv_movies.pic_thumb,
tv_movies.pagename,
tv_movies.duration,
tv_movies.vote,
tv_movies.vote_sum,
tv_movies.views,
tv_movies.is_hd,
tv_movies.create_date,
tv_movies.sort_date,
tv_categories.name as cat_name,
tv_categories.pagename as cat_page
from
tv_tags,
tv_movies,
tv_categories
where
tv_tags.tag in () and
tv_movies.id=tv_tags.movie_id and
tv_tags.movie_id not in (1252) and
tv_movies.display=1 and
tv_movies.category_id=tv_categories.id
group by tv_tags.movie_id
order by z desc limit 3) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and
tv_movies.id=tv_tags.movie_id and
tv_tags.movie_id not in...' at line 28