Solved

Easy SQL question for someone

Posted on 1998-08-13
1
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
T-SQL: Trying to use a "NOT IN (Subquery)" in CASE Statement 2 30
When are cursors useful? 8 62
relocating SQL 2000 18 39
SQL multiple joins 2 21
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

710 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