Creating a database table for Drupal module is straight forward and one of the easiest task in Drupal. To create a table, what all you need is to create a .install file inside module directory and implement hook_schema(). Inside hook_schema() implementation, specify the structure of table in array form.