Solved

Easy SQL question for someone

Posted on 1998-08-13
1
189 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

777 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