list all the sales details
select sales_details from sales
list the details of the purchases
select purchase_details from purchases
prepare a table with both the sales and purchase details
select sales_details from sales union select purchase_details from purchases
include sales and purchase id in the list
select sales_transaction_id, sales_details from sales union select purchase_transaction_id, purchase_details from purchases