Essential SQLs for any terminal