SQL Language

dfuze

Lifer
Feb 15, 2006
11,953
0
71
It can be easy or hard, depending on the type and depth of the queries.
 

Capt Caveman

Lifer
Jan 30, 2005
34,543
651
126
Writing a simple query against a single table is easy. When you add conditions and joins to other tables is where it can get more difficult. Are you familiar with basic relational database table structure?
 

ivan2

Diamond Member
Mar 6, 2000
5,772
0
0
www.heatware.com
not hard if you are going to use it in a daily basis, best to learn it in practices.

Also, against what database? There are some differences in Transact and Oracle.
 

acheron

Diamond Member
May 27, 2008
3,171
2
81
So I get back from going to the ATM machine (where I put in my PIN number), and now I'm here reading ATOT Off Topic on my LCD display, and here's a post about the SQL language.
 

nakedfrog

No Lifer
Apr 3, 2001
63,657
20,119
136
What others said, just getting it to insert/update/select data is pretty simple, but you can also do some really complex stuff.
 

theflyingpig

Banned
Mar 9, 2008
5,616
18
0
Originally posted by: acheron
So I get back from going to the ATM machine (where I put in my PIN number), and now I'm here reading ATOT Off Topic on my LCD display, and here's a post about the SQL language.
I see what you did there you clever guy you.
 

GeekDrew

Diamond Member
Jun 7, 2000
9,099
19
81
Writing statements in SQL is trivially easy, IMHO. Understanding how the data you are working with is modeled in the database with which you are currently working: sometimes not so easy.
 

L1FE

Senior member
Dec 23, 2003
545
0
71
Depends a lot on the database you're using, complexity of what needs to be done, and the amount of data you'll be manipulating. It's easy to write garbage SQL on a small data set and have that perform reasonably fast. Add in a few million/billion more rows, thousands more users, and you'll find that full table scans, holding records for update, row/table locks can all bring a production box to its knees. That being said, for the most basic of basic queries where you don't care about performance, it's ridiculously easy to learn.
 

slsmnaz

Diamond Member
Mar 13, 2005
4,016
1
0
having recently done it myself (with no prior exposure) I will say the basic queries have become much easier. I got a SQL for beginners book and messed around in our dev environment trying many of the commands out. I still keep the book on my desk for reference but don't use it very often.
 

PricklyPete

Lifer
Sep 17, 2002
14,582
162
106
It is by far one of the easiest "languages" to learn in my humble opinion if you have any concept of how a database is designed/works. The key is visualizing how the system will be handling the data you are processing and that will hugely benefit your codes efficiency.