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 ('22') 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 (11,21,22,23,24,25,26,27,94,126,131) 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='11' 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,a.bilde from pase2page p2p JOIN APASE a on p2p.pase=a.ID where a.MAIN_TYPE in ('ZINA','LIKUMS','NOTIKUMS','SLUDEKLIS') and p2p.page in (-1,126) 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='94' group by p2p.pase) as ddp1 Table './LVAEI/APASE' is marked as crashed and should be repaired

Citi raksta

select a.* from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='94' group by p2p.pase order by a.DATUMS desc , a.ID desc limit 0, 30Table './LVAEI/APASE' is marked as crashed and should be repaired
x

Paroles atgadināšana