subject

Write a SELECT statement that returns these columns from the Orders table: The CardNumber column The length of the CardNumber column The last four digits of the CardNumber columnWhen you get that working right, add the column that follows to the result set. This is more difficult because the column requires the use of functions within functions. A column that displays the last four digits of the CardNumber column in this format: ---1234. In other words, use Xs for the first 12 digits of the card number and actual numbers for the last four digits of the number. selectCardNumber, len(CardNumber) as CardNumberLegnth, right(CardNumber, 4) as LastFourDigits,'---' + right(CardNumber, 4) as FormattedNumberfrom Orders

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
You know the right answer?
Write a SELECT statement that returns these columns from the Orders table: The CardNumber column The...
Questions
question
Mathematics, 16.10.2020 16:01
question
Biology, 16.10.2020 16:01
question
Mathematics, 16.10.2020 16:01
Questions on the website: 13722363