SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Done Deal
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunflower2005
Petulant

5 Posts

Posted - 12/07/2007 :  00:22:15  Show Profile  Visit sunflower2005's Homepage  Reply with Quote
It's because of this one or maybe more people that the whole world of the internet becomes so much of crappy messy place... *sighs*

Since there is really no specifics on deleting a topic, this is the best I could do.

Edited by - sunflower2005 on 12/07/2007 04:51:40

RickD
Slow But Sure Yak Herding Master

United Kingdom
3608 Posts

Posted - 12/07/2007 :  03:48:05  Show Profile  Reply with Quote
Try Books Online, an amazing tool that comes with SQL and will teach you all about the syntax you require. Or simply ask your tutor.

Edited by - RickD on 12/07/2007 03:49:05
Go to Top of Page

pootle_flump
Flowing Fount of Yak Knowledge

United Kingdom
1064 Posts

Posted - 12/07/2007 :  03:58:57  Show Profile  Reply with Quote
You can break your question down into logical steps. Write a query that satisfies the statement up to the first comma. Test & verify. Then alter it to satisfy up to the following comma. Test and verify. Repeat. Post what you come up with.

You'll get some pointers if you put in effort and get stuck but you won't get the answer - you'll need to come up with that yourself.
Go to Top of Page

RickD
Slow But Sure Yak Herding Master

United Kingdom
3608 Posts

Posted - 12/07/2007 :  04:16:18  Show Profile  Reply with Quote
Look up INNER JOIN.
Go to Top of Page

elancaster
A very urgent SQL Yakette

United Kingdom
1208 Posts

Posted - 12/07/2007 :  04:17:23  Show Profile  Reply with Quote
well the first thing is, you haven't joined the tables together.

e.g.

...
from table1 join table2 on table1.id = table2.id
...

look in BOL for the syntax etc, and decide what fields your tables have in common, as in, what do they join on?


Em
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30282 Posts

Posted - 12/07/2007 :  04:45:31  Show Profile  Visit SwePeso's Homepage  Reply with Quote
A grey area for this OP
quote:
Originally posted by sunflower2005

If you can't write it or can't give me tips on writing the queries, then please don't bother your time.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

elancaster
A very urgent SQL Yakette

United Kingdom
1208 Posts

Posted - 12/07/2007 :  04:55:03  Show Profile  Reply with Quote
grrr.... don't you just hate it when people do that!!

quote:


It's because of this one or maybe more people that the whole world of the internet becomes so much of crappy messy place... *sighs*

Since there is really no specifics on deleting a topic, this is the best I could do.




Em
Go to Top of Page

pootle_flump
Flowing Fount of Yak Knowledge

United Kingdom
1064 Posts

Posted - 12/07/2007 :  04:56:21  Show Profile  Reply with Quote
quote:
Originally posted by sunflower2005

It's because of this one or maybe more people that the whole world of the internet becomes so much of crappy messy place... *sighs*

Since there is really no specifics on deleting a topic, this is the best I could do.

Dear me - poor you! And now you'll have to do your homework all by yourself. Was that the original vision of the internet? That students should have to think for themselves?. A total travesty - I'm giving up on the internet altogether in protest.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000