Полные правила Magic: the Gathering
( Comprehensive rules )


Базовые правила Contents Glossary

4.  Zones

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') && (nom > 99), concat(id, '. ', text), null)) as prev_sub, max(if ((pos <= 1)' at line 3

select max(if ((pos < -1) && (nom < 99), concat(id, '.  ', text), null)) as prev_title, max(if ((pos < ) && (nom > 99), concat(id, '. ', text), null)) as prev_sub, max(if ((pos <= 1) && (nom < 99), concat(id, '.  ', text), null)) as next_title, min(if ((pos > ) && (nom > 99), concat(id, '. ', text), null)) as next_sub from MTGrules where title='Y' && sub=''



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _