sql - How to create an MySQL query alias? -


for example use this

select * tab1; 

every 5 minutes.

is there way set alias p can do

p 

instead , query executed?

this calls view, in case isn't shorter: create view p select * tab1;
you'd use as: select * p

it more interesting more complex queries though.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -