sql relational database queries with examples