Pyspark script to iterate over the tables in a database

Job ID: 33339833

Budget: $10 – $30 CAD

I have few tables in a database. I need a script to iterate through all the tables in a database and run the query “select count(*)” on each table and store the result in a separate table.
Related categories: SQL MySQL PySpark