User Profile

Collapse

Profile Sidebar

Collapse
John Roberts
John Roberts
Last Activity: May 4 '11, 04:00 PM
Joined: Nov 25 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • John Roberts
    started a topic How to convert a Subquery into a Join?

    How to convert a Subquery into a Join?

    Hi guys,

    The below SQL statement returns a requirement name and the SUM of the number of number of tests run in each test related to that requirement for Release 10. To filter on a particular release, I need to convert this statement into an equivalent INNER JOIN because 'Tests_run' isn't the only attribute for a test I need to return.

    Please help! Here's the current SQL subquery statement.

    SELECT Requirement.Nam e...
    See more | Go to post

  • John Roberts
    started a topic Table lock problem when generating report

    Table lock problem when generating report

    Hi guys,

    My database is accessed by several users. When the user opens my report it first makes a table of temporary data from one query, then uses another query on that table to populate my report. The problem is, when another user wants to view the same report, I get a table lock problem - presumably because my report is bound to the fields in the table which WOULD get overwritten whenever this report is run.

    They're...
    See more | Go to post

  • John Roberts
    replied to Multiple Joins in Access
    Hey, thanks for your reply - my tables don't actually have spaces in, they are just for example. Here's what I'm trying to do...

    For each row in Table A, there's a lookup table (Table B) which finds the associated value. Table C, which is referenced through the lookup table (Table B) has the associated identifier. Table D then has specific items related to Table A (e.g. Total number of problems). I want to sum up the problems for each...
    See more | Go to post

    Leave a comment:


  • John Roberts
    started a topic Multiple Joins in Access

    Multiple Joins in Access

    Hi,

    Is it possible to access a tables data over multiple joins? For instance, for each row of Table A, I want the associated data from Table D. Is this possible in access? If it's not, could you suggest an alternative? Please see the example. Many Thanks.

    Code:
    SELECT Table A.Person_Name, Table D.Favorite_Sport
    FROM (Table A 
    LEFT JOIN Table B ON Table A.ID=Table B.ID)
    LEFT JOIN Table C ON Table B.ID=Table
    ...
    See more | Go to post
No activity results to display
Show More
Working...