---
title: "查询其他用户表数据"
author: "doxingg"
date: "2013-03-11T11:19:20Z"
tags: []
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2013-03-11T11:19:20Z"
id: 1827398
url: "https://doxingg.iteye.com/blog/1827398"
---

Marry 用户下，能查询到 John用户下表数据

用john登入.  
grant select on tablename to Marry

然后用Marry登入,  
select * from john.tablename;