To transfer a list of all available types of tea drinks sorted alphabetically:
PRODNAME LIKE ‘%Tea%’
The % character is a wildcard indicating any number of characters:
PRODDESC
SELECT * FROM grocery/product WHERE (PRODNAME LIKE ‘%Tea%’) ORDER BY PRODDESC
The resulting records are:
ProdID | ProdDesc | ProdName | ProdQuant | |
---|---|---|---|---|
100570263 | 761831637 | Cranberry Ice Tea | Crystal Falls Cranberry Ice Tea | 302 |
100570263 | 761831635 | Diet Peach Ice Tea | Crystal Falls Diet Peach Tea | 79 |
100570263 | 761831636 | Diet Rasp Ice Tea | Crystal Falls Diet Rasp Ice Tea | 110 |
100570263 | 761831638 | Lemon Ice Tea | Crystal Falls Lemon Ice Tea | 218 |