Z
Z
zlodiak2019-12-02 14:26:10
PostgreSQL
zlodiak, 2019-12-02 14:26:10

Why doesn't a hash query return a selection?

Installed postgres9, created the following table:
5de4f43e50d24136640192.png
This query returns data successfully:

select * from users where email='[email protected]';

5de4f468e3bcd224836697.png
But this query does not return any data:
select * from users where password_hash='5dccdc4113ac4331f47daa65b37584ff829df277'

5de4f4aa0fefe278723058.png
Please help me understand why.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question