Fejl ved brug af USING
Hej!Hvad pokker er det galt her??:
SQL-forespørgsel :
DELETE FROM table_users USING table_comments AS t_comments,
table_forum AS t_forum,
table_news AS t_news,
table_trips AS t_trips,
table_tripusers AS t_ripusers,
table_users AS t_users WHERE t_comments.user != t_users.id AND t_forum.user != t_users.id AND t_news.user != t_users.id AND t_trips.skipper != t_users.id AND t_ripusers.byuser != t_users.id AND t_trips.makeuser != t_users.id AND t_users.level = '99999'
MySQL returnerede:
You have an error in your SQL syntax near 'USING table_comments AS t_comments , table_forum AS t_forum , table_news AS t_ne' at line 1
