Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I am very happy with the whole site and would like to extend my compliments to all of you who work to make it one of the most useful sites (If not THE Most Useful) ...and the easiest to navigate..."

Geography

Where in the world do Tek-Tips members come from?
FB1 (Instructor)
7 May 12 14:02
hi all
Query one
need to pull the last record from multiple sale table b  which is joined to 1 to 1 customer table a

only need to see last data entry against each customer.

query two

customer table a 1to1
issue table b multiple entry

need to create a query that joins both to show one complete entry to report on.

Except for a little issue where i need 3 fields to show and they are not always populated at the same time, but are kept in the same table

i.e.

oid   nameid   car   van         lorry  date
1      12       yes   [null]      yes   01/01/2012
2       12      [null] yes       [null]  12/12/2011
34      11       yes   [null]     [null] 12/12/2011
35      11     [Null]   Yes        [null]    11/11/2011
56      11      [null]  [null]      yes     10/11/2011


would like to see

nameid   car   van         lorry  
12        yes   yes        yes
11        yes   yes        yes

You help will be most appreciated

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close