Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language 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
  #11 (permalink)  
Old September 10th, 2004, 12:53 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey u do have views in Access right instead of the temp table store the result in the view and then query the view( i.e you save the query that you write on the access these themselves act as views)

Query the saved query which would act as a temp table

Hope this helps:D

Rgds
pratap


Reply With Quote
  #12 (permalink)  
Old October 26th, 2004, 06:01 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://www.codeproject.com/cs/databa..._databases.asp

Reply With Quote
  #13 (permalink)  
Old October 27th, 2004, 10:02 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Naperville, IL, USA.
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The following works in Access - I tried it.

Modify the ParentChild table as follows.

id int identity not null
father int null
mother int null
description varchar(100) null

Query

SELECT ParentChild.description AS Name, ParentChild_1.description AS Father, ParentChild_2.description AS Mother
FROM (ParentChild LEFT JOIN ParentChild AS ParentChild_1 ON ParentChild.father = ParentChild_1.id) LEFT JOIN ParentChild AS ParentChild_2 ON ParentChild.mother = ParentChild_2.id;

Best wishes,



Rand
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
Insert Into Parent Child Table prasanta2expert Access VBA 3 November 8th, 2007 11:18 AM
parent child connect s2mo SQL Server 2005 1 February 20th, 2007 07:16 AM
Parent - Child Combo babloo81 BOOK: Professional Jakarta Struts 0 April 27th, 2005 01:54 PM
Parent - Child Combo babloo81 JSP Basics 0 April 27th, 2005 01:46 PM
Update parent table with the sum of child table gbrown SQL Language 2 November 9th, 2004 07:53 AM



All times are GMT -4. The time now is 11:18 AM.


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