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 clarifyshow which SQL statement is the answer to which question. The questions are:
Write an SQL query to show payment amout and month of the payment, eg January.
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
Write an SQL query to show the countries that customers are from.
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'.
Write an SQL query to show the length of the first name of each employee.
Write an SQL query to show the year and month that each order is placed.
Write an SQL query to show city of offices in capital letters and state and country in lower letters.
Write an SQL query to show customers and their names' length.
Write an SQL query to show orders and their status under a single column.
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
