Check out example codes for "MySQL Temporary Table". It will help you in understanding the concepts better.

Code Example 1

The syntax of the CREATE TEMPORARY TABLE staetment is similar to the syntax of the CREATE TABLE statement except for the TEMPORARY keyword:

CREATE TEMPORARY TABLE table_name(
   column_1_definition,
   column_2_definition,
   ...,
   table_constraints
);

Learn ReactJs, React Native from akashmittal.com