Skip to content
Advertisement

Two joins change case size

My question is why double joins in SQLite change case size in result. Please look in fiddle: http://sqlfiddle.com/#!7/88671/3

As you can see when I query “select * from user” I have upper size name A123456, but when I do double join I have only lower size name a123456.

Can someone explain why?

Schema below:

With this query I have A123456:

With this query I have also A123456:

But with this query I only have a123456:

Advertisement

Answer

The query returns exactly the data inserted:

as user_id=1 takes no role.

Did you mean

? Then you’ll get 'A123456' too.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement