SELECT FROM users
WHERE users.location LIKE '%Berlin%'
JOIN packages ON packages.user_id = users.id
WHERE packages.due <= TODAY();
<select> -> 'SELECT FROM' <ident>
<select> -> 'SELECT FROM' <ident> <where>
<select> -> 'SELECT FROM' <ident> <where> <join>
<op> -> '=>' | '>' | '<' | '=<' | 'LIKE' | '!=' | '=' | '<>' | 'BETWEEN'
<where> -> 'WHERE' [<ws>] <ident> '.' <ident> [<ws>] <op> [<ws>] <lit>
<join> -> 'JOIN' [<ws>] <ident> [<ws>] 'ON' [<ws>] <ident> '.' <ident> [<ws>] '=' [<ws>] <ident> '.' <ident>