Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 29th, 2007, 10:20 PM
Registered User
 
Join Date: Dec 2006
Location: Mumbai, Maharashtra, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default What are joins?

I know this is a very basic question but in my last interview, interviewer asked me to define join and replied him that
join can retrieve data from two or more tables based on logical relationships between the tables

But he did not satisfied with answer.
So please any body can give me exact definition of join
Is my definition of 'Join' is correct or need some modification?

Thanks

Reply With Quote
  #2 (permalink)  
Old June 30th, 2007, 12:25 AM
Friend of Wrox
Points: 1,536, Level: 15
Points: 1,536, Level: 15 Points: 1,536, Level: 15 Points: 1,536, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: , MI, USA.
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Sounds like he was being a little picky (a LOT, actually) but he might have been looking for something like this...

Joins indicate how the server should use data from one table to select the rows in another table.

...or...

A join condition defines the way two tables are related in a query.

The oh-so-subtle difference is that in your definition, you stipulated they were to "retrieve data"... not necessarily true... joins could be used "in a query" just to identify which rows of a table should be updated with a constant (for example). Not all "queries" are SELECTs...

Like I said, though... whoever the interviewer was, he was being really picky... I'd have been tempted to ask him what 2 to the zero power is or what 14 base 16 in decimal is just to get revenge on being so picky :D

Consider this... if he's going to be THAT picky, you probably didn't want to work there, anyway... guy sounds like a jerk.


--Jeff Moden
Reply With Quote
  #3 (permalink)  
Old July 2nd, 2007, 11:29 PM
Friend of Wrox
Points: 1,536, Level: 15
Points: 1,536, Level: 15 Points: 1,536, Level: 15 Points: 1,536, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: , MI, USA.
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Any feedback? Maybe even a thanks?

--Jeff Moden
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with joins brettdalldorf SQL Server 2000 4 December 22nd, 2005 02:50 AM
Joins nalla Oracle 0 December 14th, 2005 05:54 AM
joins on more than 2 tables badgolfer Access 2 February 22nd, 2005 07:13 PM
Joins r_ganesh76 SQL Server 2000 2 February 10th, 2005 12:21 AM
Joins marthaj SQL Server 2000 7 June 26th, 2003 09:02 AM



All times are GMT -4. The time now is 06:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.