SELECT * FROM gallery ORDER BY id
/