Select and return only Checksum (not Table) from checksum table in mysql
When I run "mysql> CHECKSUM TABLE mytable;", I got the following result: +------------------+------------+ | Table | Checksum | +------------------+------------+ | mydb.mytable | 1679935596 | +------------------+------------+ How to select and return only the Checksum (not Table) in the above result in one mysql statement? Something like "SELECT Checksum FROM (CHECKSUM TABLE mytable);"??? Tried several times, but no idea. What I want is: +------------+ | Checksum | +------------+ | 1679935596 | +------------+ You can do it by column, or sum of columns. Below is a test on a table of mine.