Learn SQL
Selecting modified data from rows
28.1
Lesson

Selecting boolean data from rows

Display name and age of students along with the information whether they are a teenager or not. A student is considered a teenager if the age is between 13 and 19.

Run the code and under the column header isTeenager we can see 0 or 1. 1 means true and 0 means false.