title: How can I convert a pyspark.sql.dataframe.DataFrame back to a sql table in databricks notebook
body: <p>I created a dataframe of type <code>pyspark.sql.dataframe.DataFrame</code> by executing the following line:
  <code>dataframe = sqlContext.sql("select * from my_data_table")</code></p>
  
  <p>How can I convert this back to a sparksql table that I can run sql queries on?</p>