Case sensitively largely depends on database engine of choice and how it's configured. Sometimes the database engine defers to the operating system.
If you are using MySQL you may want to look at this https://dev.mysql.com/doc/refman/8.0/en/case-sensitivity.html.
Some versions of MySQL the case sensitively can be configured with these lines like this in your MySQL config:
What database engine are you using and what version of that engine are you using?
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace