The document contains examples of various C++ programs and SQL commands. Some of the C++ programs include binary search, linear search, bubble sort, selection sort, insertion sort, copy constructor, parametrized constructor, lower matrix, sum of matrices, nesting, pointers, linear queue, circular queue, reading and writing binary files. The SQL commands include showing databases, creating a database, creating and describing a table, inserting and selecting data, altering a table by adding or dropping a column, using LIKE in select statements, and ordering results.