Pengaturan Oracle :
CREATE TABLE your_table ( strname ) AS
SELECT '''canada'',''tower''' FROM DUAL UNION ALL
SELECT '''south'',''africa''' FROM DUAL;
Kueri :
SELECT *
FROM your_table
WHERE strname LIKE '%''' || lower( 'canada' ) || '''%'
Keluaran :
STRNAME
----------------
'canada','tower'
Kueri :
SELECT *
FROM your_table
WHERE strname LIKE '%''' || lower( 'south' ) || '''%'
AND strname LIKE '%''' || lower( 'africa' ) || '''%'
Keluaran :
STRNAME
----------------
'south','africa'