I have a database which consist of 2 tables and I want to print a entire table but I do not know what code to use.

thanks in advance!