[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Easy SQL question for someone

I've not done any SQL for ages, and I was wondering if someone could point me in the direction of a good web site or book that is easy to understand to help me get back into it.

While I'm about it, I'm trying to join two numerical fields with a multiplier, and I want to give the resultant output a heading other than [columnA] * [columnb] how do I do this?
0
balabaster
Asked:
balabaster
1 Solution
 
cymbolicCommented:
Select [column A] * [Column B] As MyResult from MyTable...

Actually, your cheapest and probably best route is to use "SQL Books Online" which you can install when you install your SQL Client software on your system.  Also, there is a wealth of SQL buried in the stored procedures in each SQL Server, that with the proper rights, you can examine at your leasure.  And, the Transact-SQL help in the Enterprise manager of SQL Server works well too.

Also, if you have a copy of MS Access, you can use the Query builder wizards and the Query builder tool to construct your baseline SQL, then customize it from there.  

ALthough it may seem confusing at first, the basic SQL syntax is not very complex, it's just all those SQL from Hell and SQL to Gone With The Wind goober piles that some developers create that  take the wind out of anybody's sails, including often the Query processor of the database system!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now