Db2 is an IBM product and it is a relational database management system (RDBMS). This means that data can be queried using a structured query language (SQL). Db2 SQL is very similar to the SQL used in SQL Server, MySQL, and Oracle, but not identical. Like other relational databases, Db2 stores data in tables that can be joined together, sorted, and filtered.