select * from APASE where ID='0'Table './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 (14,55,56,57,82,97) 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='14' 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 ('ZINA','LIKUMS','NOTIKUMS','SLUDEKLIS') and p2p.page in (-1,97) 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 a.ID, a.LAT from pase2page p2p JOIN APASE a on p2p.pase=a.ID where a.MAIN_TYPE in ('ZINA','LIKUMS','NOTIKUMS','SLUDEKLIS','SAITE') and p2p.page in (-1,96,99,100,101) 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='56' group by p2p.pase) as ddp1 Table './LVAEI/APASE' is marked as crashed and should be repaired

Pieredze

select a.* from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='56' 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