I'm having difficulties managing the queries like this:
SELECT c.id, p.id FROM claim c, procedure p LIMIT 1;
This query will return following set:
id | id
----+----
49 | 1
Is there any way to make it return c.id
and p.id
for column names? This one doesn't work:
SELECT c.id as c.id, p.id as c.id FROM claim c, procedure p LIMIT 1;
Or is this my final solution?
SELECT c.id as c_id, p.id as p_id FROM claim c, procedure p LIMIT 1;