select * from APASE where ID='0'Table './LVAEI/APASE' is marked as crashed and should be repaired
select a.ID, a.LAT, if(a.DATUMS1>now(),a.DATUMS1,a.DATUMS) , a.LAIKS from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page in ('93') and (a.DATUMS>now() or a.DATUMS1>now()) and a.MAIN_TYPE='SLUDEKLIS' group by p2p.pase order by a.DATUMS , a.ID asc limit 5Table './LVAEI/APASE' is marked as crashed and should be repaired
select a.ID, a.LAT from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page in (16,65,66,67,68,116,115,114,117,118,119) and a.DATUMS>DATE_ADD(now(), interval -14 day ) group by p2p.pase order by a.views desc , a.DATUMS desc , a.ID desc limit 3Table './LVAEI/APASE' is marked as crashed and should be repaired
select a.ID, a.LAT from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='16' and a.ID not in () group by p2p.pase order by a.DATUMS desc , a.ID desc limit 3You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') group by p2p.pase order by a.DATUMS desc , a.ID desc limit 3' at line 1
select a.ID, a.LAT from pase2page p2p JOIN APASE a on p2p.pase=a.ID where a.MAIN_TYPE in ('JAUTAJUMS') and p2p.page='113' group by p2p.pase order by a.DATUMS desc , a.ID desc limit 5Table './LVAEI/APASE' is marked as crashed and should be repaired
SELECT count( ddp ) FROM ( select p2p.pase as ddp from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='67' and a.MAIN_TYPE in ('SLUDEKLIS') and (a.DATUMS>=now() or a.DATUMS1>=now()) group by p2p.pase) as ddp1 Table './LVAEI/APASE' is marked as crashed and should be repaired

Kalendārs

select a.ID, a.LAT , a.DATUMS, a.LAIKS from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='67' and a.MAIN_TYPE in ('SLUDEKLIS') and (a.DATUMS>=now() or a.DATUMS1>=now()) group by p2p.pase order by a.DATUMS, a.ID desc limit 0, 30Table './LVAEI/APASE' is marked as crashed and should be repaired
x

Paroles atgadināšana