Plain wp core version prints one number. Add one flag and you get the details that matter when something looks off after an update.
wp core version --extra
The output has four lines: the WordPress version, the database revision, the TinyMCE version and the package language. The database revision is the interesting one. It is the schema version that the files on disk expect. WordPress stores its own idea of that number in the db_version option, and when the two differ, the dashboard asks you to update the database.
So when a site keeps showing the “Database update required” screen, I’d compare the two:
wp core version --extra
wp option get db_version
If the option is lower, wp core update-db brings it up. If it is higher, the files are older than the database, which usually means someone restored old files over a newer install.
One detail for multisite: the revision shown here comes from wp-includes/version.php, not from a subsite. For a subsite’s stored value, add --url with that site to the wp option get command.
Further reading: wp core version, wp core update-db