There is a table:
create table table1 (
id integer primary key,
user_id varchar(36),
field1 varchar(100))
How to select rows associated with a user to which a row with a specific identifier belongs. I would like to be able to look at the lines, select the message by id and select all the lines associated with the same user.
select * from table1
where user_id =
Alex source
share