SQL Portability layer for LIMIT emulation
