• + 0 comments

    It's a table that's built into MySQL, the user doesn't create it. The purpose of it is to show information about each table in your current database. It's especially useful if you are creating tables or exploring a database for the first time to get a feel for what tables are in it. (see the image below for what information_schema.tables looks like in a database).

    For this question however, the information_schema.tables is only being used as a dummy table to output the query.

    schema_example

    Source: https://www.mssqltips.com/sqlservertutorial/196/informationschematables/