Select where and where not
Posted
by
Simon
on Stack Overflow
See other posts from Stack Overflow
or by Simon
Published on 2012-12-10T17:01:52Z
Indexed on
2012/12/10
17:03 UTC
Read the original article
Hit count: 206
I have a table containing lessons that I called "cours" (french) and I have several cours inside and I have linked them to students with a table between them to see if they go to the lessons or not.
I would like to return data with the SELECT and the data that are NOT select.
So, If one student follow 3 courses of 5, I would like to return the 3 courses that he follow and the 2 courses that he doesn't follow.
Is there a way to do it ?
© Stack Overflow or respective owner