osQuery Management Server (Prime).OS Version (Linux and Macos) (SQLite SQL Statements)

SELECT
    os.name,
    os.major,
    os.minor,
    os.patch,
    os.extra,
    os.build,
    os.arch,
    os.platform,
    os.version AS version,
    k.version AS kernel_version
  FROM
    os_version os,
    kernel_info k;