If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
SQL help
For my Jet database I have a query that almost works, but I can't get the last piece
right. SELECT C_List.CID, C_List.LName FROM (C_List LEFT JOIN Alias ON C_List.CID = Alias.CID) LEFT JOIN AWARD ON C_List.CID = AWARD.ACID WHERE (((AWARD.ACID) Is Null) AND ((Alias.Date_To)Is Null)) GROUP BY C_List.CID, C_List.LName ORDER BY C_List.CID; The Alias table has a yes/no field named 'deleted'. I need to exclude records from the return set where that field is true. Thanks, Mike |
Thread Tools | |
Display Modes | |
|
|