I have been working on this for a while now, and I am getting very frustrated. Hopefully someone out there will be able to help...
I have two tables that I am linking together. I need to see all records out of the table 'GROUPS' and in another filed I need to see 'USER_NAME' from 'USER_ACCESS' if the link between the two tables exists, and if it does not, just a NULL. However, I want to be able to look at one USER_NAME at a time to see what 'GROUPS' they belong to, and everytime I try to use a WHERE clause I can no longer see all records from 'GROUPS'. Sorry if this is confusing, but any help would be greatly appreciated!!!!
Tried using LEFT OUTER JOIN (which I believe should work) and it did not, also have been trying to do a subquery to grab the records from USER_ACCESS with the correct USER_NAME first, but I can't seem to get that to work either...
I have two tables that I am linking together. I need to see all records out of the table 'GROUPS' and in another filed I need to see 'USER_NAME' from 'USER_ACCESS' if the link between the two tables exists, and if it does not, just a NULL. However, I want to be able to look at one USER_NAME at a time to see what 'GROUPS' they belong to, and everytime I try to use a WHERE clause I can no longer see all records from 'GROUPS'. Sorry if this is confusing, but any help would be greatly appreciated!!!!
Tried using LEFT OUTER JOIN (which I believe should work) and it did not, also have been trying to do a subquery to grab the records from USER_ACCESS with the correct USER_NAME first, but I can't seem to get that to work either...