Question: Answer the following questions. Make sure you use comments in your SQL file to clarify / show which SQL statement is the answer to which

Answer the following questions. Make sure you use comments in your SQL file to clarify/show which SQL statement is the answer to which question. The questions are:
1. Write an SQL query to show payment amout and month of the payment, e.g., January.
2. Write an SQL query to show the CustomerName and the complete address of each customer (the statement should return only two columns; CustomerName, and address).
3. Write an SQL query to show the countries that customers are from.
4. Write an SQL query to show the first name and last name of employees in Upper Cases. The code should return only one column as 'EmpName'.
5. Write an SQL query to show the length of the first name of each employee.
6. Write an SQL query to show the year and month that each order is placed.
7. Write an SQL query to show city of offices (in capital letters) and state and country in lower letters.
8. Write an SQL query to show customers and their names' length.
9. Write an SQL query to show orders and their status under a single column.
10. Write an SQL query to show ProductName and their prices. The code should return only one column.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!