Retrieve the last two characters from the employees

Assignment Help Database Management System
Reference no: EM133569909

Task 1: Using Northwind Database, write SQL statements for the following data retrieval operations.
Note: You may need to refer to the schema for the exact field names while framing the queries to the following questions. While framing the question, the words ‘code', ‘number' or ‘ID' may have been synonymously used. For instance, ‘Customer Number' when used may refer to a field called CustomerID. Similarly, wherever the word ‘name' is used, appropriate interpretation may be needed based on the schema - for instance if ‘customer name' is required to be printed, you may need to retrieve CompanyName field from the Customers Table; likewise, when ‘employee name' is required (without any further qualification, you may retrieve the lastname field of Employees table.

Excercise

Retrieve the first three letters of the employees' last names.

Retrieve the last two characters from the employees' last names.

Retrieve five characters from the employees' last names, starting at the second character.

Retrieve the firstname and lastname of employee. Output should be in the form of full name (firstname + "" + lastname) having first character in upper case for both firstname and lastname, and other characters in lower case.

Retrieve maximum, minimum and average of unitprice column from order details table.

Check whether each value in the PostalCode column of the Customers table are numeric or not.

Display the Day, Month and Year separetly of today's date.

Display day of year, day, week, weekday, hours, minutes and seconds of current day.

Display the dates respectively after adding 4 years, 2 months and 25 days to the current.

Display the day differences from Orders table between following:

a. Order date and required date.
b. Order date and shipped date.
c. Shipped date and required date.

 

Reference no: EM133569909

Questions Cloud

What might be the consequences for the cell : Imagine you are a cell biologist. How and why would you use a microscope to study cellular structures?
Develop better understanding on evidence : GDECE104 Professional Teaching Practice, Southern Cross Education Institute - Critical Reflection of Professional Practice
What two types of fluids filter the excretory organs of worm : What two types of fluids filter the excretory organs of the worm?
Is it ethical to use animals in scientific experiments : The spotlight shines brightly on the stage, casting a challenging question: Is it ethical to use animals in scientific experiments?
Retrieve the last two characters from the employees : Retrieve the last two characters from the employees' last names. Retrieve five characters from the employees' last names, starting at the second character
What tissue protects the human trachea : What tissue protects the human trachea and bronchial trees from collapsing during the pressure changes of breathing? Why don't the bronchioles have this?
Find out all the orders placed by all the customers : Retrieve all details of Orders administered by persons who hold the designation Sales Representative and shipped by United Package
Display the list of products that should be re-order : List out only 5 percentage of total records from customers table. Retrieve the Customer IDs and contact names of all customers who have yet to order
List all details of all shippers that the company is dealing : List all details of all Shippers that the company is dealing with. List the all employees - you need to display only the details of their First Name

Reviews

Write a Review

Database Management System Questions & Answers

  Write set of relational schemas-identify primary-foreign key

Sketch an E-R diagram which reflects the above reuirements. Write a set of relational schemas and identify primary and foreign keys. Try not to include redundant schemas.

  Summarize the advantages of modular data centers

Do some Internet research on modular (pod) data centers. Summarize the advantages and disadvantages of modular data centers.

  Encryption in ensuring confidentiality

Discuss the role of encryption in ensuring confidentiality; use a popular encryption to make your point if needed.

  What are the main activities that the business undertakes

What are the main activities that the business undertakes and where in the business are the crucial decisions made?

  Show a comprehensive understanding of methodologies

Show a comprehensive understanding of methodologies, tools, and technologies formanaging and developing secure database systems

  Your task is to develop a database to support this activity

Your task is to develop a database to support this activity.Here is what you need to be able to provide Custom Auto Body in order to land your first consulting contract:

  Developing the database management system

Database development team by developing the database management system for ULKOM LTD - Produce appropriate screenshots and annotations

  Create and populate the database tables

Create and populate the three database tables - briefly at the end of Chapter 6 under the Additional DBA Responsibilities heading

  What platforms will app run on or be accessible from

What platforms will App run on or be accessible from? iOS? Android? Windows? Browser-only? Multiple? Others?

  Determining the attributes of the database

You are closest to the application and implementation, and you are giving guidance to the vendors by determining the attributes of the database.

  Discuss two of the additional dba responsibilities mentioned

Write a 500-1000 word paper using Word discussing two of the additional DBA responsibilities mentioned. Create and populate the following three database tables, including foreign keys, using SQL

  Comparing racial and class inequalities in childrens

Describing and comparing racial and class inequalities in children's academic performance. In this section, we will consider two sources of inequality-class and race

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd