Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cannot see relationship columns in Query editor?

If I make a query to a PostgreSQL database, I can see the related tables as a new column at the end of the regular columns. However, if I send this report to my collegue, she doesn't see those columns (the teble itself is visible, only the relationship columns are disappearing), and is unable to refresh. I experimented a bit, and discovered, that if a user with SELECT permission queries the database, the columns are not visible. With the owner of the database, those are visible. What permissions are needed for that functionality?


Edit 1:

It turns out the REFERENCES privilege is needed:



        Allows creation of a foreign key constraint referencing the specified table, or specified column(s) of the table. (See the CREATE TABLE statement.)


Now my question would be what is executed, or why is that privilege need?

Community Support Team
Community Support Team

Re: Cannot see relationship columns in Query editor?

hi, @Anonymous 

You may try to refer to this post:


Best Regards,



Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Re: Cannot see relationship columns in Query editor?

Hello @v-lili6-msft,


Thanks for taking the time, but I don't think this answers any of my questions.




Helpful resources

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 6 members 2,690 guests
Please welcome our newest community members: