Bishop's Pond

This is an old revision of the document!


Test3 status query

SELECT 
    IIF (LOWER(common_name) LIKE '%frog%', 'frog', 'notfrog') AS STATUS,
    scientific_name AS RESULT
FROM species
LIMIT 1;

These are the possible status codes

frog

<div style="background-color: #F8CECC">In debt: :result</div>

notfrog

<div style="background-color: #D5E8D4">All okay: :result</div>
dbquery/test3.1756297279.txt.gz · Last modified: by Richard White