Tuesday, 14 March 2023

To getting Backup and Restore Entire Database By using MySQL(Incremental Backup)

The SQL query "SHOW FULL TABLES WHERE Table_type != "VIEW"" is used to retrieve a list of all the tables in a database where the table type is not a "view".

In a relational database management system (RDBMS), a view is a virtual table that does not physically exist in the database but is created by a query. The view provides a customized or filtered view of one or more tables, which can be useful for simplifying complex queries or controlling access to sensitive data.

The query "SHOW FULL TABLES" returns a list of all tables in the database along with their types, and the "WHERE" clause is used to filter the results based on the table type. In this case, we are excluding views from the results by specifying "Table_type != 'VIEW'".

By executing this query, you will get a list of all the non-virtual tables in the database. These tables are typically created using the CREATE TABLE statement, and their data is physically stored in the database.



SQL query "SHOW FULL TABLES WHERE Table_type != 'VIEW'"

SHOW FULL TABLES: This is a SQL command that is used to display a list of all tables in a database. The "FULL" keyword in this command specifies that additional information about each table, such as the table type and the storage engine, should also be displayed.

WHERE Table_type != 'VIEW': This is a clause that is used to filter the list of tables returned by the SHOW FULL TABLES command. In this case, the clause specifies that only tables whose Table_type is not equal to 'VIEW' should be included in the results. This means that any views in the database will be excluded from the list.

Overall, this SQL query will display a list of all tables in the database that are not views, along with additional information about each table.










No comments:

Post a Comment

By Using React Commands with the mention technologies (DOM, Bootstrap, Axios, Hooks) to create React_App Applications.

  To create a "Blog_App "using React with the mentioned technologies (DOM, Bootstrap, Axios, Hooks), you can follow these steps: S...