Selecting the current table in MySQL select query
Hay I'd like to know if there was a simple function that determines the table(s) involved in a select query.

Basically the tabular equivalent to CURDATABASE()???

For instance something I would use like this:

Select * colname,colname,..., from (sometablename) where something = val union select from CURTABLE() ...;


Selecting the current table in MySQL select query
===

Hay I'd like to know if there was a simple function that determines the table(s) involved in a select query.

Basically the tabular equivalent to CURDATABASE()???

For instance something I would use like this:

Select * colname,colname,..., from (sometablename) where something = val union select from CURTABLE() ...;

