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 question. The
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 the age of each employee.
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 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 CategoryName (in capital letters) and Description in lower letters.
8- Write an SQL query to show ShipperName and their names' length.
9- Write an SQL query to show SupplierName and their contact name 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
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