I downloaded the Magento community version and sample data. I am using XAMPP, and while I am trying to install Magento, all five steps are fine, as you can see below

When I click the install button, the installation process stops with the following error message
Module 'Magento_Widget': Installing schema.. [ERROR] exception 'Zend_Db_Exception' with message 'Column "code" does not exist in table "widget".' in C:\xampp\htdocs\Magento\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php:967 Stack trace:
Please help me solve this problem.
source share