AND OR Example

suggest change

Have a table

Name| Age|City| —— | —— | —— | Bob| 10|Paris| Mat| 20|Berlin| Mary| 24|Prague|

select Name from table where Age>10 AND City='Prague'

Gives

|Name| | —— | |Mary|

select Name from table where Age=10 OR City='Prague'

Gives

|Name| | —— | |Bob| |Mary|

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents