MySQL Forums
Forum List  »  MySQL Query Browser

user supplied variables
Posted by: Jim Lann
Date: October 10, 2005 08:55AM

I am such a newbie at this, but here goes:

I'm trying to create a select statement in "views" that would allow users to query all of the tables based on any attribute in each of the tables.

for instance:

select * from table1,table2,table3,table4
where (user supplied field variable) = (user supplied variable. must be an enry in one of the fields in at least one table);

That's the entire query. Any ideas?

Oh, yeah, I'm using MySQL 5.x

Thanks

Options: ReplyQuote


Subject
Written By
Posted
user supplied variables
October 10, 2005 08:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.