S
shripaldalal
Hi,
Have a simple question.........
select * from mytable inner join myaccounts on mytable.id =
myaccounts.sub_id where mytable.party = 'shripal dalal' and on_acc_of
= 'inv/1/07'
I know the above WHERE CLAUSE is possible if i know the fieldname
'party', 'on_acc_off' but what if i dont know the fieldnames in the
tables ?
is something like this possible :
select * from mytable inner join myaccounts on mytable.id =
myaccounts.sub_id where any_field_in_this_query = 'shripal dalal' and
any_field_in_this_query = 'inv/1/07'
THIS WILL REALLY SOLVE A BIG PROBLEM !
regards,
shripal.
Have a simple question.........
select * from mytable inner join myaccounts on mytable.id =
myaccounts.sub_id where mytable.party = 'shripal dalal' and on_acc_of
= 'inv/1/07'
I know the above WHERE CLAUSE is possible if i know the fieldname
'party', 'on_acc_off' but what if i dont know the fieldnames in the
tables ?
is something like this possible :
select * from mytable inner join myaccounts on mytable.id =
myaccounts.sub_id where any_field_in_this_query = 'shripal dalal' and
any_field_in_this_query = 'inv/1/07'
THIS WILL REALLY SOLVE A BIG PROBLEM !
regards,
shripal.