public function sql( $args ) {
		list( $table_name ) = $args;
		$rows = Model::$list;
		if ( ! isset( $rows[ $table_name ] ) ) {
			\WP_CLI::error( sprintf( '%s: table is not registered.', $table_name ) );
		}
		$model = $rows[ $table_name ];
		if ( ! class_exists( $model ) ) {
			\WP_CLI::error( sprintf( '%s: Model class does not exist.', $model ) );
		}
		if ( ! $this->is_sub_class_of( $model, Model::class ) ) {
			\WP_CLI::error( sprintf( '%s is not sub class of %s.', $model, Model::class ) );
		}
		/** @var Model $instance */
		$instance = $model::get_instance();
		\WP_CLI::line( sprintf( '%s: Version %s', $instance->table, $instance->version ) );
		$query = $instance->get_tables_schema( $instance->current_version() );
		echo "\n" . $query . "\n\n";
		\WP_CLI::success( sprintf( '%s letters', number_format_i18n( strlen( $query ) ) ) );
	}