There are 3 main classes in FMDB:
1. FMDatabase : it represents a single SQLite database which is used for executing SQL statements.
2. FMResultSet : it represents the results of executing a query on an FMDatabase.
3. FMDatabaseQueue : if we want to perform queries and updates on multiple threads, then we use this class.