Closed josephabirached closed 3 years ago
There is no particular reason I used UNION ALL instead of UNION. If we were to use UNION we can remove the DISTINCT in the primary select statement.
Which one do you think is better?
The two approaches will give the same result. I do not know which one is faster :) So, let's leave it as it is, with 'DISTINCT'.
merged!
On 25/10/2021, josephabirached @.***> wrote:
There is no particular reason I used UNION ALL instead of UNION. If we were to use UNION we can remove the DISTINCT in the primary select statement.
Which one do you think is better?
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kerzol/papers/pull/15#issuecomment-951109119
I made the changes requested!
I also added a verification to check if the string is white-space before querying the database in the if statement (line 142).