| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |
|

07-15-09, 23:17
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 27
|
|
|
Getting started
|
|
Hi,
My question is, what's the hardest database fundamental to learn for a beginner, and why?
1) table setup
2) queries
3) other
Thanks.
|
|

07-15-09, 23:43
|
|
Resident Curmudgeon
|
|
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
|
|
Depends on the beginner.
-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
|
|

07-16-09, 02:08
|
|
Jaded Developer
|
|
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
|
|
|
|
for many beginners it seems to be relational table design 
after that its learning to harness the power of SQL to do what you want.
after that you are into more esoteric country in terms of maintenance, query optimisation and so on
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
|
|

07-16-09, 07:30
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
3) other -- thinking in sets
|
|

07-16-09, 07:49
|
|
King of Understatement
|
|
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
|
|
Not to be confused with thinking insects.
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
|
|
|

07-16-09, 09:41
|
|
World Class Flame Warrior
|
|
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
|
|
Quote:
|
Originally Posted by pootle flump
Not to be confused with thinking insects.
|
No no, bug fixes are important too.
Quote:
|
Originally Posted by CVD
Hi,
My question is, what's the hardest database fundamental to learn for a beginner, and why?
1) table setup
2) queries
3) other
|
4) the nerdy banter
__________________
If it's not practically useful, then it's practically useless.
blindman
www.chess.com: "sqlblindman"
|
|

07-16-09, 09:41
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 27
|
|
|
|

07-16-09, 09:49
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
Quote:
|
Originally Posted by CVD
Thanks. What are sets?
|
see? told ya!! 
|
|

07-16-09, 10:47
|
|
World Class Flame Warrior
|
|
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
|
|
Remember back in high school, that semester you studied Venn Diagrams?
Remember thinking to yourself, "What possible use is this nonsense?"
Welcome to our world.
__________________
If it's not practically useful, then it's practically useless.
blindman
www.chess.com: "sqlblindman"
|
|

07-16-09, 16:45
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 27
|
|
Quote:
|
Originally Posted by r937
|
Thanks for the info.
|
|

07-16-09, 17:50
|
|
Registered User
|
|
Join Date: Dec 2007
Location: London, UK
Posts: 732
|
|
Quote:
|
Originally Posted by CVD
Hi,
My question is, what's the hardest database fundamental to learn for a beginner, and why?
1) table setup
2) queries
3) other
Thanks.
|
Table setup is not a database fundamental. Design Theory is. Good question though.
Perhaps one of the hardest things for the inexperienced is to adjust their thinking for different kinds of data models (I mean "model" in the most general senses, such as "semantic models", "the Relational Model", "hierarchical model"). Many people will have a good comprehension of some models and find it harder to adjust to others. To quote William Kent (in his book Data and Reality):
"A model is more than a passive medium for recording our view of reality. It shapes that view, and limits our perceptions. If a mind is committed to a certain model, then it will perform amazing feats of distortion to see things structured that way, and will simply be blind to the things which don't fit that structure."
|
|

07-16-09, 19:21
|
|
Resident Curmudgeon
|
|
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
|
|
Most database beginners still think like programmers, one row at a time. Most modern databases work in a fundamentally different way, in that you specify WHAT you want done and what SET of rows you want that done to, then let the database engine figure out the best way to accomplish the job. Using sets instead of rows tends to lead to performance improvements from ten to a thousand times what the row based performance was.
-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
|
|

07-16-09, 20:38
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 27
|
|
Thanks for the replies. I understand the mathematical concept of "sets", but is there possibly a simple example to illustrate the row thinking vs set thinking concept?
|
Last edited by CVD; 07-16-09 at 20:42.
|

07-16-09, 22:15
|
|
SQL Consultant
|
|
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
|
|
Quote:
|
Originally Posted by CVD
... is there possibly a simple example to illustrate the row thinking vs set thinking concept?
|
sure -- "return the last three rows of the table"

|
Last edited by r937; 07-16-09 at 22:22.
|

07-16-09, 22:50
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 27
|
|
Ignorance alert::::::
If the records have an "auto number" field, couldn't you determine the highest autonumber and return it and -1 and -2?
Or is the problem "return the last three rows if there is no autonumber field". If so, is the answer to determine what field in the rows can be used to determine the last three?
|
Last edited by CVD; 07-16-09 at 22:58.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|