select * from table A_PAYMENTS p
@Harsh3
try with
select * from A_PAYMENTS
Hope this helps you
Thanks