Hi!
If you use MySQL, then use LIMIT 0, 8 at the end of the SQL statement.
The first argument specifies 0 because enumeration in MySQL results starts with this number. 8 states the number of rows to return.
If you use other DBMS, you probably need to consult their references.
Best regards,
Stanislav