Ошибка SQL

select * from cqmrk_articles where status<50 order by root_kat,position desc

Ошибка SQL

select * from cqmrk_menu where visible=1 order by position

Ошибка SQL

select * from cqmrk_teg,cqmrk_articles where type='articles' and cqmrk_teg.id=cqmrk_articles.articles_id and cqmrk_articles.root_kat='main' limit 1

Ошибка SQL

select * from cqmrk_news where status<50 order by date_create DESC limit 10

Ошибка SQL

select * from cqmrk_news where status<50 order by date_create DESC limit 5

Ошибка SQL

select * from cqmrk_gallery,cqmrk_gallery_unit,cqmrk_files where cqmrk_gallery.gallery_id=cqmrk_gallery_unit.gallery_unit_gallery_id and cqmrk_gallery_unit.gallery_unit_file_middle_id=cqmrk_files.file_id and cqmrk_gallery_unit.gallery_unit_url_title ='IMG_3147'

Ошибка SQL

select * from cqmrk_gallery,cqmrk_gallery_unit,cqmrk_files where cqmrk_gallery.gallery_id=cqmrk_gallery_unit.gallery_unit_gallery_id and cqmrk_gallery_unit.gallery_unit_file_original_id=cqmrk_files.file_id and cqmrk_gallery_unit.gallery_unit_url_title ='IMG_3147'

Ошибка SQL

select * from cqmrk_gallery,cqmrk_gallery_unit,cqmrk_files where cqmrk_gallery.gallery_id=cqmrk_gallery_unit.gallery_unit_gallery_id and gallery_url_title = '2-iy_slet_moskovskih_radi' and cqmrk_gallery_unit.gallery_unit_file_min_id=cqmrk_files.file_id order by gallery_unit_position

Ошибка SQL

select * from cqmrk_voting, cqmrk_voting_posible_answer where cqmrk_voting.voting_id = cqmrk_voting_posible_answer.posible_voting_id and voting_content_type = 0 order by posible_answer_position,cqmrk_voting.voting_id

Ошибка SQL

select * from cqmrk_articles where root_kat='left_banners' order by main limit 1

Ошибка SQL

select * from cqmrk_gallery_unit, cqmrk_files,cqmrk_gallery where gallery_unit_file_min_id=file_id and cqmrk_gallery.gallery_id=cqmrk_gallery_unit.gallery_unit_gallery_id order by rand() limit 1

Ошибка SQL

select * from cqmrk_questions,cqmrk_forum_tree where cqmrk_questions.question_type_id = cqmrk_forum_tree.forum_id and question_type=100 and forum_close=0 and forum_id!=81 and forum_id!=17 order by date_create desc limit 50

Галерея