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
Post a Comment