0 like 0 dislike
411 views
in Education & Reference by (180 points)
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.
 
 

1 Answer

0 like 0 dislike
by (1.4k points)

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

Related questions

0 like 0 dislike
1 answer 800 views
0 like 0 dislike
3 answers 743 views
0 like 0 dislike
1 answer 168 views
1 like 0 dislike
1 answer 3 views
0 like 0 dislike
1 answer 1.4k views
0 like 0 dislike
1 answer 103 views
1 like 0 dislike
1 answer 3.4k views
1 like 0 dislike
1 answer 55 views

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

...