Purchase Solution

SQL Queries - Strings and Dates

Not what you're looking for?

Ask Custom Question

I created a guitar database. I am having difficulties running several query's I don't fully understand. I have attached my database, as well as a file showing what queries I am having trouble with.

Purchase this Solution

Solution Summary

Sample SQL queries that work with strings and dates. Masking credit card number, formatting dates, adding days to dates.

Solution Preview

Dear student, please find attached a file with SQL queries per your lab assignment document. I had no problem running your existing script to create the database and populate sample data. Below are sample results from execution of the queries that I wrote for you:

Good luck and thank you for using Brainmass.com!

ListPrice DiscountPercent DiscountAmount
--------------------- --------------------- ---------------------
699.00 30.00 209.70
1199.00 30.00 359.70
2517.00 52.00 1308.84
489.99 38.00 186.20
299.00 0.00 0.00
415.00 39.00 161.85
799.99 30.00 240.00
499.99 25.00 125.00
699.99 ...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Javscript Basics

Quiz on basics of javascript programming language.