Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Provide the complete SELECT statement that returns the results I describe Select all records in the Spokane table in the Weather database. Display the Month,

Provide the complete SELECT statement that returns the results I describe

Select all records in the Spokane table in the Weather database. Display the Month, Day, and Average High Temperature using default column headers.

Alter problem 1 to Make the column header for the Average Hi read AverageHigh Order the data by Average Hi, highest to lowest.

Return all Spokane weather records but include only the Month, Day, and Record Low columns.

Provide a SELECT to generate the Month, Day, Sunrise, and Sunset from December 31st to January 1st (backwards).

Using the Baseball DB (NOT the Baseball2015 db), provide SELECTs to solve the following problems:

Select all records in the Players table in the Baseball database. Display all columns in default column order.

Select all records in the Players table in the Baseball database. Display only the last name, first name, and birth state columns.

Alter the previous problem to include the same data. This time alter the column headers to read First, Last, and State. Order the data alphabetically by State

display the players last, first name along with their height in inches.

Alter the previous problem to display the players height in feet as a decimal (e.g., 6.24). Give the column the header HeightFeet.

Create a SELECT that returns a Players full name in a single column (first last) along with two calculated columns Birth and Death. Birth is the BirthCity concatenated with a comma, space, and BirthState in the format Spokane, WA. Death is the DeathCity and DeathState, in the same format.

Example data format:

FullName Birth Death Babe Ruth Baltimore, MD New York, NY

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions