Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ism4210 C++ programming using guitarshop i know this question has been posted, but when i run other peoples code , it comes up error 1.

ism4210 C++ programming using guitarshop i know this question has been posted, but when i run other peoples code , it comes up error

1. Write a SELECT statement that returns these columns from the Products table: The ListPrice column A column that uses the CAST function to return the ListPrice column with 1 digit to the right of the decimal point A column that uses the CONVERT function to return the ListPrice column as an integer A column that uses the CAST function to return the ListPrice column as an integer

2. Write a SELECT statement that returns these columns from the Products table: The DateAdded column A column that uses the CAST function to return the DateAdded column with its date only (year, month, and day) A column that uses the CAST function to return the DateAdded column with its full time only (hour, minutes, seconds, and milliseconds) A column that uses the CAST function to return the OrderDate column with just the month and day

3. Write a SELECT statement that returns these colums from the Orders table: A column that uses the CONVERT function to return the OrderDate column in this format: MM/DD/YYYY. In other words, use two-digit months, days, and years and separate each date component with slashes A column that uses the CONVERT function to return the OrderDate column with the date, and the hours and minutes on a 12-hour clock with an am/pm indicator A column that uses the CONVERT function to return the OrderDate column with 2-digit hours, minutes, and seconds on a 24-hour clock. Use leading zeros for all date/time components.

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

Step: 3

blur-text-image

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

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

Students also viewed these Databases questions