1
I’m a beginner in Postgresql and I need to make a INNER JOIN
to relate data from two tables. It took me a long time to understand this FOREIGN KEY
, but I made the right reference in the database. Now, I have a C# application and I don’t know how to write the table reading and data relation command.
Follows the current command structure:
SELECT * FROM users_data WHERE user_id = {0}
What leaves me in doubt is where to put the INNER JOIN
, the AS
, and the ON
. The table users_data
has a column user_type
and this value must be alternated with the table users_type
.
join
in this case it is not identical toinner join
? If not, you have the documentation that speaks of this difference in Postgres?– Jefferson Quesado
In reality the
Join
is a simplified form ofInner Join
, left a little clearer in reading. Especially when there are other relationships.– Alexsandro Teixeira
his last paragraph was not clear on this :-] perhaps it would be better to try to clarify this in the text
– Jefferson Quesado
Yeah, I’ll get better later I’m new at this. so I have much better.
– Alexsandro Teixeira
we are all beginners in search of learning ;-)
– Jefferson Quesado