Computing.Net > Forums > Database > Need help with SQL-query (access)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need help with SQL-query (access)

Reply to Message Icon

Name: Jyrki Heinonen
Date: May 18, 2007 at 02:05:11 Pacific
OS: -
CPU/Ram: -
Product: -
Comment:

Hi, I'm designin sort of asset manager software and i'm already stuck with some SQL-querys... :) Tables don't have all the fields yet, because it's just a test version.

I have these tables:
1)PC (Central database that holds the references to other tables, that hold the actual information)
2) Displays, Machines, Printers (Tables that hold the detailed information about the objects that are managed through this program. Has also the information about the in-house leasing information)
3) LeasingList (Holds references between managed object (display, printer, machine) and the leasing contract number)
4) LeasingContractDetails (Holds the time when certain leasing contract is active (start time, ending time, contract number)

I need to make a query, that could fetch me detailed information about one row in PC-table. I need it to fetch the information about the machines leasing information, displays leasing information and also printers leasing information. Theres three different rows (maybe also null values) that i need displayed from the leasingContractDetails.

Image of database with connections. Fields are in finnish, but there a some explanations.

I'm not sure is this bad database design or what, but i am open to suggestions.

Thanks in advance,
Jyrki Heinonen



Sponsored Link
Ads by Google

Response Number 1
Name: Jyrki Heinonen
Date: May 18, 2007 at 02:06:45 Pacific
Reply:

Hmm, forum decided to remove the link to image...

Here's the link to database image in webPicasa
http://picasaweb.google.co.uk/jyrki...


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: Need help with SQL-query (access)

Need help with SQL query www.computing.net/answers/dbase/need-help-with-sql-query/629.html

Need help with Database in Access 2003 www.computing.net/answers/dbase/need-help-with-database-in-access-2003/669.html

Need help modifying SQL query www.computing.net/answers/dbase/need-help-modifying-sql-query/433.html