0 like 0 dislike
411 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 (180 points) | 411 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) | 737 views
0 like 0 dislike
1 answer
asked May 26, 2015 in Education & Reference by Simmi (630 points) | 168 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 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,226 questions
1,378 answers
560 comments
3,108 users