Expression rule for multiple table

Hi,

can we write single expression rule to get data from multiple table, if it's possible how it can be simple example

like: select orders.orderid, customers.custername from order inner join customers on orders.customerid=customer.customerid

can we write such query in expression rule 

Thanks,

Kavya 

  Discussion posts and replies are publicly visible