SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On



Group By query Expand / Collapse
Author
Message
Posted Monday, November 16, 2009 5:15 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, November 17, 2009 4:50 AM
Points: 2, Visits: 25
Hi Guys

I am Working on Adventureworks2008 and i have a question about how can i get the employment history of an employees so that i am able to know that how long they are working for the company and how many different positions he/she worked for.....................

Please help me out
Thanks
Post #819739
Posted Monday, November 16, 2009 5:51 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:34 PM
Points: 2,021, Visits: 5,963
OK but give us a little additional information... what table(s) contain the information you need? How are the tables linked (Foreign key) or?

What have you attempted (your T-SQL statement)

Also note you posted this to a SQL 2000 forum, and you appear to be using SQL 2008, now which is it?


If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #819746
Posted Monday, November 16, 2009 5:54 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, March 18, 2010 9:03 AM
Points: 1,427, Visits: 1,506
You seem to be starting with SQL Server.

Follow a good T SQL Server programming book and then practise that on AdventureWorks2008.

It would be better to post real time issues / questions that you are facing in these forums. rather than asking a fundamental question on T SQL.

You have asked a question on SQL 2008 Database in a SQL 7 / 2000 Forum.

Good...



Bru Medishetty

To get quick answers read the article
How to post data/code on a forum to get the best help


My Blog - learnsqlwithbru.com
Post #819747
« Prev Topic | Next Topic »


Permissions Expand / Collapse