Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2007, 10:20 PM
Registered User
 
Join Date: Dec 2006
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

 
Old June 30th, 2007, 12:25 AM
Friend of Wrox
 
Join Date: Oct 2006
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
 
Old July 2nd, 2007, 11:29 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Any feedback? Maybe even a thanks?

--Jeff Moden





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.