SQL Demystified