How I can get the table which is affected by the query?
Example
Update cust
Set name = 'john'
Where custid = '4001'
Output:
cust
___________________________
Insert into emp(fname, lname)
Values('john', 'reyes')
Output:
emp
___________________________
Update cust
Set name = 'john'
Where custid = '4001'
Update emp
Set fname = 'rey'
Where fname = 'John'
Output:
cust, emp