-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 18, 2019 at 07:03 AM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `special_services_exams`
--

-- --------------------------------------------------------

--
-- Table structure for table `bdedu_exam_results`
--

CREATE TABLE `bdedu_exam_results` (
  `exam_result_row_id` int(11) NOT NULL,
  `student_row_id` int(11) NOT NULL,
  `class_row_id` int(11) DEFAULT NULL,
  `exam_category_row_id` int(11) NOT NULL,
  `is_psychology` tinyint(4) NOT NULL DEFAULT '0',
  `exam_row_id` int(3) DEFAULT NULL,
  `total_time_taken` varchar(150) DEFAULT NULL COMMENT 'time taken in hour: minute format',
  `total_questions` int(11) NOT NULL,
  `total_correct_answer` int(11) DEFAULT NULL,
  `total_wrong_answer` int(11) DEFAULT NULL,
  `all_question_row_id` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT 'all exam question row id in json format',
  `total_marks` float(3,2) DEFAULT NULL,
  `percentage_obtained` float(8,2) DEFAULT NULL,
  `comment` text,
  `assessor_comment` text,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bdedu_exam_results`
--

INSERT INTO `bdedu_exam_results` (`exam_result_row_id`, `student_row_id`, `class_row_id`, `exam_category_row_id`, `is_psychology`, `exam_row_id`, `total_time_taken`, `total_questions`, `total_correct_answer`, `total_wrong_answer`, `all_question_row_id`, `total_marks`, `percentage_obtained`, `comment`, `assessor_comment`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 1, 8, 1, 1, 1, '00:15', 10, NULL, NULL, '{\"1\":\"3\",\"2\":\"3\",\"3\":\"4\",\"4\":\"0\",\"5\":\"5\",\"6\":\"0\",\"7\":\"4\",\"8\":\"3\",\"9\":\"3\",\"10\":\"4\"}', NULL, NULL, '', NULL, 1, 1, '2019-06-18 10:35:51', '2019-06-18 10:35:51'),
(2, 1, 8, 4, 1, 5, '00:13', 10, NULL, NULL, '{\"31\":\"4\",\"32\":\"2\",\"33\":\"3\",\"34\":\"5\",\"35\":\"4\",\"36\":\"2\",\"37\":\"0\",\"38\":\"3\",\"39\":\"0\",\"40\":\"4\"}', NULL, NULL, '', NULL, 1, 1, '2019-06-18 10:36:58', '2019-06-18 10:36:58');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `bdedu_exam_results`
--
ALTER TABLE `bdedu_exam_results`
  ADD PRIMARY KEY (`exam_result_row_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `bdedu_exam_results`
--
ALTER TABLE `bdedu_exam_results`
  MODIFY `exam_result_row_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
