2 requests are executed
select * from table where a='aaaaa' and b='bbbbb' select * from table where a like 'aaaa%' and b like 'bbbb%' you need to take the result of the first of the second so that the lines do not repeat in the second
2 requests are executed
select * from table where a='aaaaa' and b='bbbbb' select * from table where a like 'aaaa%' and b like 'bbbb%' you need to take the result of the first of the second so that the lines do not repeat in the second
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
Source: https://ru.stackoverflow.com/questions/741189/
All Articles
where a like 'aaaa%' and b like 'bbbb%' and NOT (a='aaaaa' and b='bbbbb')- MikeEXCEPT:) - teran