The sel_order.sql command file
The following example uses the ORDER BY and WHERE clauses
to query. In this SELECT statement, the comparison 'bicycle%' (LIKE
condition, or 'bicycle*' for a MATCHES condition) specifies the letters
bicycle followed by any sequence of zero or more characters. It narrows
the search further by adding another comparison condition that excludes
a manu_code of PRC.
SELECT * FROM stock
WHERE description LIKE 'bicycle%'
AND manu_code NOT LIKE 'PRC'
ORDER BY description, manu_code;