Solved

Easy SQL question for someone

Posted on 1998-08-13
1
197 Views
Last Modified: 2010-03-19
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
Comment
Question by:balabaster
1 Comment
 
LVL 9

Accepted Solution

by:
cymbolic earned 50 total points
ID: 1089545
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question