from tables where predicae1 group by columns having predicae1 select columns order by columns limit start, offset;