Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Problems with select statement! Pls help
Old 11-16-2008, 11:22 AM Problems with select statement! Pls help
Junior Talker

Posts: 2
Name: Andy
Trades: 0
Hi, I have some problems in select statement.
Let's say I have a table called MYJOURNEY which have TripNum, TripCount, Departure, Destination. E.g.
(3,1,'America', 'New Zealand')
(3,2,'New Zealand', 'Indonesia')
I need to select TripNum, TripCount, Departure, RestPt, Destination where RestPt refer to New Zealand.
Redbull is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-16-2008, 11:51 AM Re: Problems with select statement! Pls help
Junior Talker

Posts: 2
Name: Andy
Trades: 0
Sorry I forgot to tell u that the countries may not be New Zealand. This is only part of the table.
Redbull is offline
Reply With Quote
View Public Profile
 
Old 11-16-2008, 02:13 PM Re: Problems with select statement! Pls help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And where exactly does RestPt come into the equation??
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-02-2008, 09:54 AM Re: Problems with select statement! Pls help
MH-Dolly's Avatar
Average Talker

Posts: 20
Name: IAN
Location: Romania
Trades: 0
Quote:
Originally Posted by Redbull View Post
Hi, I have some problems in select statement.
Let's say I have a table called MYJOURNEY which have TripNum, TripCount, Departure, Destination. E.g.
(3,1,'America', 'New Zealand')
(3,2,'New Zealand', 'Indonesia')
I need to select TripNum, TripCount, Departure, RestPt, Destination where RestPt refer to New Zealand.
http://www.comptechdoc.org/independe...sqlselect.html

But what is RestPt???
__________________

Please login or register to view this content. Registration is FREE
provided since 2005
All my posts represent my own personal opinion and do not represent my company view
MH-Dolly is offline
Reply With Quote
View Public Profile Visit MH-Dolly's homepage!
 
Reply     « Reply to Problems with select statement! Pls help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15749 seconds with 12 queries