select * from APASE where ID='0'Table './LVAEI/APASE' is marked as crashed and should be repaired
select ID, LAT, if(DATUMS1>now(),DATUMS1,DATUMS), LAIKS from APASE where (DATUMS>now() or DATUMS1>now()) and MAIN_TYPE='SLUDEKLIS' order by DATUMS , ID asc 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='60' 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

Sanāksmes

select a.ID, a.LAT , a.DATUMS, a.LAIKS from pase2page p2p JOIN APASE a on p2p.pase=a.ID where p2p.page='60' 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