Question
The SQL statements comprising the DDL for the COMPANY Database are given to you. For that database, answer the following queries. Create the files Q1
The SQL statements comprising the DDL for the COMPANY Database are given to you. For that database, answer the following queries. Create the files Q1 to Q10 in PostgreSQL. Do follow the restrictions stated for individual queries. When a query asks for "name" of employees, retrieve both, the first and the last names.
2. List the ssn and the name of each employee that either works in department 5 or has a salary greater or equal to $35,000. You are allowed to use only one condition term in any WHERE clause; i.e., don't use AND/OR Boolean operations.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started