Fun at zangOOr Click Here
0 like 0 dislike
423 views
If I have database ABC and database XYZ, and table Tab1 under database ABC, is it possible to create a view of Tab1 under database XYZ in MySQL. If so, can you show me the syntax.
 
Both the databases are on the same machine.
 
 
in Education & Reference by (360 points) | 423 views

1 Answer

0 like 0 dislike

Create View XYZ.View1 as Select * from ABC.Tab1

by (1.4k points)

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Jan 20, 2014 in Education & Reference by Sam (1.4k points) | 845 views
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 26, 2015 in Education & Reference by Simmi (640 points) | 181 views
2 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,243 questions
1,398 answers
564 comments
4,162 users