0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.217.14.208


Current Path : /var/www/html/kswu/
Upload File :
Current File : /var/www/html/kswu/db24032015.sql

/*
SQLyog Ultimate v11.33 (64 bit)
MySQL - 5.6.12-log : Database - resultsg_kus
*********************************************************************
*/

/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`resultsg_kus` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `resultsg_kus`;

/*Table structure for table `absent` */

DROP TABLE IF EXISTS `absent`;

CREATE TABLE `absent` (
  `FDEGREE` varchar(10) DEFAULT NULL,
  `FEXAMNO` varchar(5) DEFAULT NULL,
  `FCOLLCODE` varchar(10) NOT NULL,
  `FCSUBCODE` varchar(10) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FDOE` date DEFAULT NULL,
  `FSESSION` varchar(5) DEFAULT NULL,
  `FABSTYPE` varchar(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  `FQPCODE` varchar(7) NOT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FREGNO`,`FQPCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FCSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `acc_mas` */

DROP TABLE IF EXISTS `acc_mas`;

CREATE TABLE `acc_mas` (
  `payment_type` varchar(25) DEFAULT NULL,
  `bank_name` varchar(50) DEFAULT NULL,
  `acc_no` varchar(100) DEFAULT NULL,
  `branch_name` varchar(200) DEFAULT NULL,
  `branch_code` varchar(200) DEFAULT NULL,
  `ifsc_code` varchar(200) DEFAULT NULL,
  `cheque_favour` text,
  `place` varchar(200) DEFAULT NULL,
  `bank_charge` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `admfeedetl` */

DROP TABLE IF EXISTS `admfeedetl`;

CREATE TABLE `admfeedetl` (
  `FYEAR` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FSLNO` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FHEADCODE` varchar(20) CHARACTER SET latin1 NOT NULL,
  `FAMOUNT` int(11) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSLNO`,`FHEADCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `admfeestr` */

DROP TABLE IF EXISTS `admfeestr`;

CREATE TABLE `admfeestr` (
  `FYEAR` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOMBCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FCATCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FHEADCODE` varchar(20) CHARACTER SET latin1 NOT NULL,
  `FCONSTYPE` varchar(15) CHARACTER SET latin1 NOT NULL,
  `FFEE` int(11) DEFAULT NULL,
  `FPRFEE` int(11) DEFAULT NULL,
  `FMAXFEE` int(11) DEFAULT NULL,
  `FREPFEE` int(11) DEFAULT NULL,
  `FREPPRFEE` int(11) DEFAULT NULL,
  `fdeleted` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FUSED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FCOMBCODE`,`FCATCODE`,`FHEADCODE`,`FCONSTYPE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `admfeestrbefore500` */

DROP TABLE IF EXISTS `admfeestrbefore500`;

CREATE TABLE `admfeestrbefore500` (
  `FYEAR` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOMBCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FCATCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FHEADCODE` varchar(20) CHARACTER SET latin1 NOT NULL,
  `FCONSTYPE` varchar(15) CHARACTER SET latin1 NOT NULL,
  `FFEE` int(11) DEFAULT NULL,
  `FPRFEE` int(11) DEFAULT NULL,
  `FMAXFEE` int(11) DEFAULT NULL,
  `FREPFEE` int(11) DEFAULT NULL,
  `FREPPRFEE` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `altdeg` */

DROP TABLE IF EXISTS `altdeg`;

CREATE TABLE `altdeg` (
  `fdegree` varchar(5) NOT NULL,
  `fdescpn` varchar(100) DEFAULT NULL,
  `faltdeg` varchar(5) NOT NULL,
  PRIMARY KEY (`faltdeg`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `appcanddet` */

DROP TABLE IF EXISTS `appcanddet`;

CREATE TABLE `appcanddet` (
  `APPNO` varchar(25) NOT NULL DEFAULT '',
  `FDEGREE` varchar(10) NOT NULL,
  `FEXAMNO` varchar(5) NOT NULL,
  `FCOLLCODE` varchar(10) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPASSMTH` varchar(10) DEFAULT NULL,
  `FINSERTED` varchar(5) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) DEFAULT '1',
  `FDELETED` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`,`APPNO`,`FCOLLCODE`),
  UNIQUE KEY `idx_unq` (`APPNO`,`FSUBCODE`),
  FULLTEXT KEY `canddet_idx1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `appcandsum` */

DROP TABLE IF EXISTS `appcandsum`;

CREATE TABLE `appcandsum` (
  `APPNO` varchar(25) NOT NULL DEFAULT '',
  `FDATE` date DEFAULT NULL,
  `FPAYMENTYPE` varchar(30) DEFAULT NULL,
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FCATEGORY` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FSEX` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPEARA` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEA` decimal(10,2) DEFAULT NULL,
  `FRECPTNOA` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEA` date DEFAULT NULL,
  `FAPPEARB` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEB` decimal(10,2) DEFAULT NULL,
  `FRECPTNOB` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEB` date DEFAULT NULL,
  `FAPPEARC` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEC` decimal(10,2) DEFAULT NULL,
  `FRECPTNOC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEC` date DEFAULT NULL,
  `FAPPEARD` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEED` decimal(10,2) DEFAULT NULL,
  `FRECPTNOD` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATED` date DEFAULT NULL,
  `FAPPEARE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEE` decimal(10,2) DEFAULT NULL,
  `FRECPTNOE` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEE` date DEFAULT NULL,
  `FAPPEARF` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEF` decimal(10,2) DEFAULT NULL,
  `FRECPTNOF` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEF` date DEFAULT NULL,
  `FAPPEARG` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEG` decimal(10,2) DEFAULT NULL,
  `FRECPTNOG` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEG` date DEFAULT NULL,
  `FAPPEARH` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEH` decimal(10,2) DEFAULT NULL,
  `FRECPTNOH` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEH` date DEFAULT NULL,
  `FAPPEARI` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEI` decimal(10,2) DEFAULT NULL,
  `FRECPTNOI` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEI` date DEFAULT NULL,
  `FAPPEARJ` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEJ` decimal(10,2) DEFAULT NULL,
  `FRECPTNOJ` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEJ` date DEFAULT NULL,
  `FRECPTNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATE` date DEFAULT NULL,
  `FTOTALFEE` decimal(10,2) DEFAULT NULL,
  `FREMARKS` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FPHOTOPATH` varchar(50) DEFAULT NULL,
  `FAPPNO` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT 'FALSE',
  `FCNTRCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FFRESHEXAM` varchar(1) DEFAULT NULL,
  `FACKDATE` datetime DEFAULT NULL,
  `FACKUSER` varchar(20) DEFAULT NULL,
  `FFEETYPE` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FREGNO`,`APPNO`),
  UNIQUE KEY `idx_unq` (`APPNO`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `NewIndex1` (`APPNO`,`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FREGNO`),
  KEY `NewIndex2` (`APPNO`,`FCOLLCODE`),
  KEY `NewIndex3` (`APPNO`),
  KEY `NewIndex4` (`FREGNO`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `appstudfee` */

DROP TABLE IF EXISTS `appstudfee`;

CREATE TABLE `appstudfee` (
  `APPNO` varchar(25) NOT NULL DEFAULT '',
  `FDEGREE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FREGNO` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FFEECODE` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FAMOUNT` decimal(15,2) DEFAULT NULL,
  `FLOGNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FREGNO`,`FEXAMNO`,`FFEECODE`,`APPNO`),
  UNIQUE KEY `idx_unq` (`APPNO`,`FEXAMNO`,`FFEECODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FFEECODE` (`FFEECODE`),
  FULLTEXT KEY `NewIndex1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FFEECODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `attend` */

DROP TABLE IF EXISTS `attend`;

CREATE TABLE `attend` (
  `fintcode` int(11) NOT NULL AUTO_INCREMENT,
  `FCOLLCODE` varchar(11) DEFAULT NULL,
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAMNO` varchar(1) DEFAULT NULL,
  `FSUBCODE` varchar(5) DEFAULT NULL,
  `FREGNO` varchar(10) DEFAULT NULL,
  `FJANC` int(3) DEFAULT NULL,
  `FFEBC` int(3) DEFAULT NULL,
  `FMARC` int(3) DEFAULT NULL,
  `FAPRC` int(11) DEFAULT NULL,
  `FMAYC` int(3) DEFAULT NULL,
  `FJUNC` int(3) DEFAULT NULL,
  `FJULC` int(3) DEFAULT NULL,
  `FAUGC` int(3) DEFAULT NULL,
  `FSEPC` int(3) DEFAULT NULL,
  `FOCTC` int(3) DEFAULT NULL,
  `FNOVC` int(3) DEFAULT NULL,
  `FDECC` int(3) DEFAULT NULL,
  `FJANA` int(3) DEFAULT NULL,
  `FFEBA` int(3) DEFAULT NULL,
  `FMARA` int(3) DEFAULT NULL,
  `FAPRA` int(3) DEFAULT NULL,
  `FMAYA` int(3) DEFAULT NULL,
  `FJUNA` int(3) DEFAULT NULL,
  `FJULA` int(3) DEFAULT NULL,
  `FAUGA` int(3) DEFAULT NULL,
  `FSEPA` int(3) DEFAULT NULL,
  `FOCTA` int(3) DEFAULT NULL,
  `FNOVA` int(3) DEFAULT NULL,
  `FDECA` int(3) DEFAULT NULL,
  `FYEAR` varchar(5) DEFAULT NULL,
  `FEXAMTYPE` varchar(2) DEFAULT NULL,
  `FENTDATE` datetime DEFAULT NULL,
  PRIMARY KEY (`fintcode`),
  KEY `NewIndex1` (`FCOLLCODE`,`FDEGREE`,`FEXAMNO`,`FSUBCODE`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1;

/*Table structure for table `candadatelist` */

DROP TABLE IF EXISTS `candadatelist`;

CREATE TABLE `candadatelist` (
  `filename` varchar(250) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `canddet` */

DROP TABLE IF EXISTS `canddet`;

CREATE TABLE `canddet` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `FHALLNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `NewIndex1` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FREGNO`,`FSUBCODE`),
  FULLTEXT KEY `canddet_idx1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `canddet07052014` */

DROP TABLE IF EXISTS `canddet07052014`;

CREATE TABLE `canddet07052014` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `FHALLNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `canddet_2013_1` */

DROP TABLE IF EXISTS `canddet_2013_1`;

CREATE TABLE `canddet_2013_1` (
  `FDEGREE` varchar(10) NOT NULL,
  `FEXAMNO` varchar(5) NOT NULL,
  `FCOLLCODE` varchar(10) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPASSMTH` varchar(10) DEFAULT NULL,
  `FINSERTED` varchar(5) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) DEFAULT '1',
  `FDELETED` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  FULLTEXT KEY `canddet_idx1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `canddetrev` */

DROP TABLE IF EXISTS `canddetrev`;

CREATE TABLE `canddetrev` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `candsum` */

DROP TABLE IF EXISTS `candsum`;

CREATE TABLE `candsum` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FCATEGORY` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FSEX` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPEARA` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEA` decimal(10,2) DEFAULT NULL,
  `FRECPTNOA` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEA` date DEFAULT NULL,
  `FAPPEARB` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEB` decimal(10,2) DEFAULT NULL,
  `FRECPTNOB` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEB` date DEFAULT NULL,
  `FAPPEARC` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEC` decimal(10,2) DEFAULT NULL,
  `FRECPTNOC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEC` date DEFAULT NULL,
  `FAPPEARD` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEED` decimal(10,2) DEFAULT NULL,
  `FRECPTNOD` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATED` date DEFAULT NULL,
  `FAPPEARE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEE` decimal(10,2) DEFAULT NULL,
  `FRECPTNOE` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEE` date DEFAULT NULL,
  `FAPPEARF` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEF` decimal(10,2) DEFAULT NULL,
  `FRECPTNOF` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEF` date DEFAULT NULL,
  `FAPPEARG` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEG` decimal(10,2) DEFAULT NULL,
  `FRECPTNOG` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEG` date DEFAULT NULL,
  `FAPPEARH` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEH` decimal(10,2) DEFAULT NULL,
  `FRECPTNOH` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEH` date DEFAULT NULL,
  `FAPPEARI` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEI` decimal(10,2) DEFAULT NULL,
  `FRECPTNOI` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEI` date DEFAULT NULL,
  `FAPPEARJ` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEJ` decimal(10,2) DEFAULT NULL,
  `FRECPTNOJ` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEJ` date DEFAULT NULL,
  `FRECPTNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATE` date DEFAULT NULL,
  `FTOTALFEE` decimal(10,2) DEFAULT NULL,
  `FREMARKS` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPNO` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT 'FALSE',
  `FCNTRCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FFRESHEXAM` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FREGNO`),
  UNIQUE KEY `regno_idx` (`FDEGREE`,`FCOLLCODE`,`FREGNO`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `NewIndex1` (`FREGNO`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `candsum15052014` */

DROP TABLE IF EXISTS `candsum15052014`;

CREATE TABLE `candsum15052014` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FCATEGORY` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FSEX` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPEARA` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEA` decimal(10,2) DEFAULT NULL,
  `FRECPTNOA` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEA` date DEFAULT NULL,
  `FAPPEARB` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEB` decimal(10,2) DEFAULT NULL,
  `FRECPTNOB` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEB` date DEFAULT NULL,
  `FAPPEARC` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEC` decimal(10,2) DEFAULT NULL,
  `FRECPTNOC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEC` date DEFAULT NULL,
  `FAPPEARD` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEED` decimal(10,2) DEFAULT NULL,
  `FRECPTNOD` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATED` date DEFAULT NULL,
  `FAPPEARE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEE` decimal(10,2) DEFAULT NULL,
  `FRECPTNOE` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEE` date DEFAULT NULL,
  `FAPPEARF` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEF` decimal(10,2) DEFAULT NULL,
  `FRECPTNOF` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEF` date DEFAULT NULL,
  `FAPPEARG` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEG` decimal(10,2) DEFAULT NULL,
  `FRECPTNOG` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEG` date DEFAULT NULL,
  `FAPPEARH` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEH` decimal(10,2) DEFAULT NULL,
  `FRECPTNOH` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEH` date DEFAULT NULL,
  `FAPPEARI` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEI` decimal(10,2) DEFAULT NULL,
  `FRECPTNOI` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEI` date DEFAULT NULL,
  `FAPPEARJ` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEJ` decimal(10,2) DEFAULT NULL,
  `FRECPTNOJ` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEJ` date DEFAULT NULL,
  `FRECPTNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATE` date DEFAULT NULL,
  `FTOTALFEE` decimal(10,2) DEFAULT NULL,
  `FREMARKS` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPNO` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT 'FALSE',
  `FCNTRCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FFRESHEXAM` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `candsum_2013_1` */

DROP TABLE IF EXISTS `candsum_2013_1`;

CREATE TABLE `candsum_2013_1` (
  `FDEGREE` varchar(10) NOT NULL,
  `FEXAMNO` varchar(5) NOT NULL,
  `FCOLLCODE` varchar(10) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FCATEGORY` varchar(5) DEFAULT NULL,
  `FSEX` varchar(5) DEFAULT NULL,
  `FAPPEARA` varchar(5) DEFAULT NULL,
  `FEXAMFEEA` decimal(10,2) DEFAULT NULL,
  `FRECPTNOA` varchar(50) DEFAULT NULL,
  `FRECPTDATEA` date DEFAULT NULL,
  `FAPPEARB` varchar(5) DEFAULT NULL,
  `FEXAMFEEB` decimal(10,2) DEFAULT NULL,
  `FRECPTNOB` varchar(50) DEFAULT NULL,
  `FRECPTDATEB` date DEFAULT NULL,
  `FAPPEARC` varchar(5) DEFAULT NULL,
  `FEXAMFEEC` decimal(10,2) DEFAULT NULL,
  `FRECPTNOC` varchar(50) DEFAULT NULL,
  `FRECPTDATEC` date DEFAULT NULL,
  `FAPPEARD` varchar(5) DEFAULT NULL,
  `FEXAMFEED` decimal(10,2) DEFAULT NULL,
  `FRECPTNOD` varchar(50) DEFAULT NULL,
  `FRECPTDATED` date DEFAULT NULL,
  `FAPPEARE` varchar(5) DEFAULT NULL,
  `FEXAMFEEE` decimal(10,2) DEFAULT NULL,
  `FRECPTNOE` varchar(50) DEFAULT NULL,
  `FRECPTDATEE` date DEFAULT NULL,
  `FAPPEARF` varchar(5) DEFAULT NULL,
  `FEXAMFEEF` decimal(10,2) DEFAULT NULL,
  `FRECPTNOF` varchar(50) DEFAULT NULL,
  `FRECPTDATEF` date DEFAULT NULL,
  `FAPPEARG` varchar(5) DEFAULT NULL,
  `FEXAMFEEG` decimal(10,2) DEFAULT NULL,
  `FRECPTNOG` varchar(50) DEFAULT NULL,
  `FRECPTDATEG` date DEFAULT NULL,
  `FAPPEARH` varchar(5) DEFAULT NULL,
  `FEXAMFEEH` decimal(10,2) DEFAULT NULL,
  `FRECPTNOH` varchar(50) DEFAULT NULL,
  `FRECPTDATEH` date DEFAULT NULL,
  `FAPPEARI` varchar(5) DEFAULT NULL,
  `FEXAMFEEI` decimal(10,2) DEFAULT NULL,
  `FRECPTNOI` varchar(50) DEFAULT NULL,
  `FRECPTDATEI` date DEFAULT NULL,
  `FAPPEARJ` varchar(5) DEFAULT NULL,
  `FEXAMFEEJ` decimal(10,2) DEFAULT NULL,
  `FRECPTNOJ` varchar(50) DEFAULT NULL,
  `FRECPTDATEJ` date DEFAULT NULL,
  `FRECPTNO` varchar(10) DEFAULT NULL,
  `FRECPTDATE` date DEFAULT NULL,
  `FTOTALFEE` decimal(10,2) DEFAULT NULL,
  `FREMARKS` varchar(100) DEFAULT NULL,
  `FYEAR` int(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(4) DEFAULT NULL,
  `FAPPNO` varchar(8) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(5) DEFAULT 'FALSE',
  `FCNTRCODE` varchar(4) DEFAULT NULL,
  `FGENDER` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FREGNO`),
  UNIQUE KEY `regno_idx` (`FDEGREE`,`FCOLLCODE`,`FREGNO`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `category` */

DROP TABLE IF EXISTS `category`;

CREATE TABLE `category` (
  `FCATEGORY` varchar(10) DEFAULT NULL,
  `FDESCPN` varchar(25) DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  KEY `FCATEGORY` (`FCATEGORY`),
  KEY `FDESCPN` (`FDESCPN`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `colldeg` */

DROP TABLE IF EXISTS `colldeg`;

CREATE TABLE `colldeg` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FCADSTATUS` varchar(6) DEFAULT NULL,
  `FCADDATE` datetime DEFAULT NULL,
  `FUADSTATUS` varchar(6) DEFAULT NULL,
  `FUADDATE` datetime DEFAULT NULL,
  `FCCLSTATUS` varchar(6) DEFAULT NULL,
  `FCCLDATE` datetime DEFAULT NULL,
  `FUCLSTATUS` varchar(6) DEFAULT NULL,
  `FUCLDATE` datetime DEFAULT NULL,
  `FCMESTATUS` varchar(6) DEFAULT NULL,
  `FCMEDATE` datetime DEFAULT NULL,
  `FUMESTATUS` varchar(6) DEFAULT NULL,
  `FUMEDATE` datetime DEFAULT NULL,
  `FMESTATUSA` text,
  `FMESTATUSB` text,
  `FMESTATUSC` text,
  `FMESTATUSD` text,
  `FMESTATUSE` text,
  `FMESTATUSF` text,
  `FMESTATUSG` text,
  `FMESTATUSH` text,
  `FMESTATUSI` text,
  `FMESTATUSJ` text,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT 'F',
  `FIASTOP` varchar(100) DEFAULT '65*66*67*68*69*70*71*72*73*74*',
  `FPRSTOP` varchar(100) DEFAULT '65*66*67*68*69*70*71*72*73*74*',
  `FEXREGSTOP` varchar(1) DEFAULT NULL,
  `FADMSTOP` varchar(1) DEFAULT NULL,
  `FHTSTOP` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FDEGREE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `NewIndex1_exreg` (`FEXREGSTOP`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `colldesp` */

DROP TABLE IF EXISTS `colldesp`;

CREATE TABLE `colldesp` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FDOE` date DEFAULT NULL,
  `FSESSION` varchar(2) DEFAULT NULL,
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAMNO` varchar(1) DEFAULT NULL,
  `FCSUBCODE` varchar(5) DEFAULT NULL,
  `FQPCODE` varchar(10) NOT NULL,
  `FNOBUNDLE` int(2) DEFAULT NULL,
  `FTOTSCRIPT` int(5) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FQPCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `college` */

DROP TABLE IF EXISTS `college`;

CREATE TABLE `college` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FCOLLNAME` varchar(60) DEFAULT NULL,
  `FTOWN` varchar(25) DEFAULT NULL,
  `FCOLLADD1` varchar(50) DEFAULT NULL,
  `FCOLLADD2` varchar(50) DEFAULT NULL,
  `FCOLLADD3` varchar(50) DEFAULT NULL,
  `FCOLLADD4` varchar(50) DEFAULT NULL,
  `FEXAMCNTR` varchar(4) DEFAULT NULL,
  `FAPPKNT` varchar(8) DEFAULT NULL,
  `FPRINCIPALNAME` varchar(100) DEFAULT NULL,
  `FPHONE` varchar(50) DEFAULT NULL,
  `FFAX` varchar(50) DEFAULT NULL,
  `FMOBILE` varchar(10) DEFAULT NULL,
  `FEMAIL` varchar(50) DEFAULT NULL,
  `FALTMOBILE` varchar(10) DEFAULT NULL,
  `FUPDATED` varchar(1) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`),
  KEY `FCOLLNAME` (`FCOLLNAME`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `control` */

DROP TABLE IF EXISTS `control`;

CREATE TABLE `control` (
  `FUNIVCODE` varchar(3) DEFAULT NULL,
  `FUNIVNAME` varchar(60) DEFAULT NULL,
  `FTOWN` varchar(50) DEFAULT NULL,
  `FUNIVADD1` varchar(50) DEFAULT NULL,
  `FUNIVADD2` varchar(50) DEFAULT NULL,
  `FUNIVADD3` varchar(50) DEFAULT NULL,
  `FUNIVADD4` varchar(50) DEFAULT NULL,
  `FSTDNAME` varchar(5) DEFAULT NULL,
  `FREGROLL` varchar(8) DEFAULT NULL,
  `pdf_logo_path` varchar(23) DEFAULT NULL,
  `FRESULT_REMARKS` varchar(500) DEFAULT NULL,
  `fexamappreq` varchar(1) DEFAULT NULL,
  KEY `FUNIVCODE` (`FUNIVCODE`),
  KEY `FUNIVNAME` (`FUNIVNAME`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `degree` */

DROP TABLE IF EXISTS `degree`;

CREATE TABLE `degree` (
  `FDEGREE` varchar(5) NOT NULL,
  `FDESCPN` varchar(100) DEFAULT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FEXAMNAME` varchar(25) DEFAULT NULL,
  `FTOTSUB` int(2) DEFAULT NULL,
  `FFACULTY` varchar(2) DEFAULT NULL,
  `FADYEAR` varchar(4) DEFAULT NULL,
  `FADEXAMTYP` varchar(2) DEFAULT NULL,
  `FMEYEAR` varchar(4) DEFAULT NULL,
  `FMEEXAMTYP` varchar(2) DEFAULT NULL,
  `FEXAMDATE` varchar(25) DEFAULT NULL,
  `PHOTO_REQUIRED` int(1) DEFAULT '1',
  `FDELETED` varchar(1) DEFAULT NULL,
  `FRVFEE` int(11) DEFAULT NULL,
  `FRTFEE` int(11) DEFAULT NULL,
  `FXEROXFEE` int(11) DEFAULT NULL,
  `FCVFEE` int(11) DEFAULT NULL,
  `FRESULTSCHEME` varchar(5) DEFAULT NULL,
  `FRESULTORDER` decimal(14,2) DEFAULT NULL,
  `FRESULTDATE` date DEFAULT NULL,
  `FELIGREM01` varchar(500) DEFAULT NULL,
  `FELIGREM02` varchar(500) DEFAULT NULL,
  `FRESYEAR` varchar(4) DEFAULT NULL,
  `FRESEXAMTYPE` varchar(1) DEFAULT NULL,
  `FRESEXAMDATE` varchar(25) DEFAULT NULL,
  `FRVDAYS` int(5) DEFAULT NULL,
  `FRTDAYS` int(5) DEFAULT NULL,
  `FXRDAYS` int(5) DEFAULT NULL,
  `FCVDAYS` int(5) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`),
  KEY `FTOTSUB` (`FTOTSUB`),
  KEY `FADYEAR` (`FADYEAR`),
  KEY `NewIndex1` (`FRESULTORDER`,`FDEGREE`,`FEXAMNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `download_files` */

DROP TABLE IF EXISTS `download_files`;

CREATE TABLE `download_files` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `col_code` int(4) NOT NULL,
  `filename` varchar(256) NOT NULL,
  PRIMARY KEY (`id`,`col_code`)
) ENGINE=MyISAM AUTO_INCREMENT=867 DEFAULT CHARSET=latin1;

/*Table structure for table `export_table_setup` */

DROP TABLE IF EXISTS `export_table_setup`;

CREATE TABLE `export_table_setup` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `storage_path` tinytext,
  `table_name` varchar(50) DEFAULT NULL,
  `is_zip` int(1) DEFAULT '0',
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `help_text` */

DROP TABLE IF EXISTS `help_text`;

CREATE TABLE `help_text` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `table_name` varchar(100) DEFAULT NULL,
  `field_name` varchar(250) DEFAULT '0',
  `help_text_value` text,
  `ref_employee_master_code` int(111) DEFAULT NULL,
  `modified_date` datetime DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `table_name` (`table_name`),
  KEY `field_name` (`field_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `import_table_setup` */

DROP TABLE IF EXISTS `import_table_setup`;

CREATE TABLE `import_table_setup` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `storage_path` text,
  `table_name` varchar(50) DEFAULT NULL,
  `is_delete` int(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `login_counter` */

DROP TABLE IF EXISTS `login_counter`;

CREATE TABLE `login_counter` (
  `login_cnt` bigint(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `logisys_import_tables` */

DROP TABLE IF EXISTS `logisys_import_tables`;

CREATE TABLE `logisys_import_tables` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `table_name` varchar(20) DEFAULT NULL,
  `sequence` decimal(4,2) DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;

/*Table structure for table `markentrycodition` */

DROP TABLE IF EXISTS `markentrycodition`;

CREATE TABLE `markentrycodition` (
  `Code` varchar(11) NOT NULL,
  `Name` varchar(30) NOT NULL,
  `Value` varchar(150) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT 'F',
  `FMODULE` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`Code`,`Name`),
  UNIQUE KEY `Code` (`Code`),
  KEY `Name` (`Name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks` */

DROP TABLE IF EXISTS `marks`;

CREATE TABLE `marks` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FREPEATER` varchar(1) DEFAULT NULL,
  `FMARKS2` int(3) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks_2013_1` */

DROP TABLE IF EXISTS `marks_2013_1`;

CREATE TABLE `marks_2013_1` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FREPEATER` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks_2013_2` */

DROP TABLE IF EXISTS `marks_2013_2`;

CREATE TABLE `marks_2013_2` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FREPEATER` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks_pr` */

DROP TABLE IF EXISTS `marks_pr`;

CREATE TABLE `marks_pr` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FOCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FBATCH` varchar(4) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`),
  KEY `new_index` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSUBCODE`,`FBATCH`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks_pr_11_04` */

DROP TABLE IF EXISTS `marks_pr_11_04`;

CREATE TABLE `marks_pr_11_04` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FOCOLLCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FBATCH` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMTYPE` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `marks_pr_11_04_2014_final` */

DROP TABLE IF EXISTS `marks_pr_11_04_2014_final`;

CREATE TABLE `marks_pr_11_04_2014_final` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FOCOLLCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FBATCH` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMTYPE` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `marks_pr_2013_1` */

DROP TABLE IF EXISTS `marks_pr_2013_1`;

CREATE TABLE `marks_pr_2013_1` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FOCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FBATCH` varchar(4) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`),
  KEY `new_index` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSUBCODE`,`FBATCH`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `marks_pr_2013_2` */

DROP TABLE IF EXISTS `marks_pr_2013_2`;

CREATE TABLE `marks_pr_2013_2` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FOCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FBATCH` varchar(4) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`),
  KEY `new_index` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSUBCODE`,`FBATCH`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `mascomb` */

DROP TABLE IF EXISTS `mascomb`;

CREATE TABLE `mascomb` (
  `FCOMBCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FCOMBDESC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FCOMBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `masdegn` */

DROP TABLE IF EXISTS `masdegn`;

CREATE TABLE `masdegn` (
  `FDEGNCODE` varchar(10) DEFAULT NULL,
  `FDEGNDESC` varchar(100) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT 'F'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `masdept` */

DROP TABLE IF EXISTS `masdept`;

CREATE TABLE `masdept` (
  `FDEPTCODE` varchar(4) DEFAULT NULL,
  `FDEPTNAME` varchar(100) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT 'F'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `masfac` */

DROP TABLE IF EXISTS `masfac`;

CREATE TABLE `masfac` (
  `FFACCODE` varchar(4) DEFAULT NULL,
  `FFACDESC` varchar(100) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT 'F'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `masfee` */

DROP TABLE IF EXISTS `masfee`;

CREATE TABLE `masfee` (
  `FFEECODE` varchar(20) DEFAULT NULL,
  `FDESCPN` varchar(55) DEFAULT NULL,
  `FSHORTNAME` varchar(5) DEFAULT NULL,
  `FSEQUENCE` varchar(3) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  KEY `FFEECODE` (`FFEECODE`),
  KEY `FSEQUENCE` (`FSEQUENCE`),
  KEY `FSHORTNAME` (`FSHORTNAME`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `masqp` */

DROP TABLE IF EXISTS `masqp`;

CREATE TABLE `masqp` (
  `FQPCODE` varchar(4) DEFAULT NULL,
  `FSUBNAME` varchar(100) DEFAULT NULL,
  `FMAXMARKS` int(3) DEFAULT NULL,
  `FENTTYPE` varchar(1) DEFAULT NULL,
  `FDEVMARK` int(3) DEFAULT NULL,
  `FNOVAL` int(3) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `massub` */

DROP TABLE IF EXISTS `massub`;

CREATE TABLE `massub` (
  `fdeptcode` varchar(4) CHARACTER SET latin1 NOT NULL,
  `fsubcode` varchar(4) CHARACTER SET latin1 NOT NULL,
  `fsubname` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `fdeleted` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`fdeptcode`,`fsubcode`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `masteach` */

DROP TABLE IF EXISTS `masteach`;

CREATE TABLE `masteach` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FTEACHCODE` varchar(8) DEFAULT NULL,
  `FTEACHNAME` varchar(200) DEFAULT NULL,
  `FGENDER` varchar(10) DEFAULT NULL,
  `FFACCODE` varchar(4) DEFAULT NULL,
  `FDEGNCODE` varchar(4) DEFAULT NULL,
  `FQUAL` varchar(50) DEFAULT NULL,
  `FDEPTCODE` varchar(4) DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FDOA` date DEFAULT NULL,
  `FEXP` varchar(10) DEFAULT NULL,
  `FSCALE` varchar(20) DEFAULT NULL,
  `FFULLTIME` varchar(10) DEFAULT NULL,
  `FPERMANENT` varchar(10) DEFAULT NULL,
  `FADDR1` varchar(100) DEFAULT NULL,
  `FADDR2` varchar(100) DEFAULT NULL,
  `FADDR3` varchar(100) DEFAULT NULL,
  `FADDR4` varchar(100) DEFAULT NULL,
  `FPHONE` varchar(30) DEFAULT NULL,
  `FMOBILE` varchar(30) DEFAULT NULL,
  `FEMAIL` varchar(50) DEFAULT NULL,
  `FSUBCODE1` varchar(4) DEFAULT NULL,
  `FUGPG1` varchar(30) DEFAULT NULL,
  `FEXAMWORK1` varchar(60) DEFAULT NULL,
  `FSUBCODE2` varchar(4) DEFAULT NULL,
  `FUGPG2` varchar(60) DEFAULT NULL,
  `FEXAMWORK2` varchar(60) DEFAULT NULL,
  `FSUBCODE3` varchar(4) DEFAULT NULL,
  `FUGPG3` varchar(60) DEFAULT NULL,
  `FEXAMWORK3` varchar(60) DEFAULT NULL,
  `FSUBCODE4` varchar(4) DEFAULT NULL,
  `FUGPG4` varchar(60) DEFAULT NULL,
  `FEXAMWORK4` varchar(60) DEFAULT NULL,
  `FSUBCODE5` varchar(4) DEFAULT NULL,
  `FUGPG5` varchar(60) DEFAULT NULL,
  `FEXAMWORK5` varchar(60) DEFAULT NULL,
  `FMEMBER` varchar(50) DEFAULT NULL,
  `FPHOTO` varchar(100) DEFAULT NULL,
  `FSUSPEND` varchar(10) DEFAULT NULL,
  `FREMARKS` varchar(200) DEFAULT NULL,
  `FLOGNAME` varchar(20) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=InnoDB AUTO_INCREMENT=1986 DEFAULT CHARSET=latin1;

/*Table structure for table `maxrescnt` */

DROP TABLE IF EXISTS `maxrescnt`;

CREATE TABLE `maxrescnt` (
  `fcnt` decimal(6,2) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `message_board` */

DROP TABLE IF EXISTS `message_board`;

CREATE TABLE `message_board` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `college_code` varchar(5) DEFAULT NULL,
  `display_from` date DEFAULT NULL,
  `display_to` date DEFAULT NULL,
  `message` text,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM AUTO_INCREMENT=109 DEFAULT CHARSET=latin1;

/*Table structure for table `module_meta_columns` */

DROP TABLE IF EXISTS `module_meta_columns`;

CREATE TABLE `module_meta_columns` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `module_id` int(11) DEFAULT NULL,
  `module_name` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `table_name` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_name` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_id` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_name1` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_name2` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_id1` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `field_id2` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

/*Table structure for table `mp` */

DROP TABLE IF EXISTS `mp`;

CREATE TABLE `mp` (
  `fregno` varchar(8) NOT NULL,
  PRIMARY KEY (`fregno`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `mresult` */

DROP TABLE IF EXISTS `mresult`;

CREATE TABLE `mresult` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FMARKS` decimal(12,2) DEFAULT NULL,
  `FPASS` varchar(5) DEFAULT NULL,
  `FPASSMTH` varchar(50) DEFAULT NULL,
  `FRVLASTDATE` date DEFAULT NULL,
  `FRTLASTDATE` date DEFAULT NULL,
  `FXEROXLASTDATE` date DEFAULT NULL,
  `FCVLASTDATE` date DEFAULT NULL,
  `FRVFEE` int(11) DEFAULT NULL,
  `FRTFEE` int(11) DEFAULT NULL,
  `FXRFEE` int(11) DEFAULT NULL,
  `FCVFEE` int(11) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`,`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  UNIQUE KEY `uniq` (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `mresult_detail` */

DROP TABLE IF EXISTS `mresult_detail`;

CREATE TABLE `mresult_detail` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `APPNO` varchar(20) DEFAULT NULL,
  `FAPPDATE` date DEFAULT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FCORRTYPE` varchar(2) DEFAULT NULL,
  `FAMOUNT` decimal(6,2) DEFAULT NULL,
  `FTOTAL` decimal(12,2) DEFAULT NULL,
  `FRECNO` varchar(10) DEFAULT NULL,
  `CHALLANNO` varchar(50) DEFAULT NULL,
  `FCHALLANDATE` date DEFAULT NULL,
  `FDATE` date DEFAULT NULL,
  `FUSER` varchar(11) DEFAULT NULL,
  `FLOGDATE` date DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`,`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `NewIndex1` (`FREGNO`)
) ENGINE=InnoDB AUTO_INCREMENT=2754 DEFAULT CHARSET=latin1;

/*Table structure for table `mresult_detail_2013_1` */

DROP TABLE IF EXISTS `mresult_detail_2013_1`;

CREATE TABLE `mresult_detail_2013_1` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `APPNO` varchar(20) DEFAULT NULL,
  `FAPPDATE` date DEFAULT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FCORRTYPE` varchar(2) DEFAULT NULL,
  `FAMOUNT` decimal(6,2) DEFAULT NULL,
  `FTOTAL` decimal(12,2) DEFAULT NULL,
  `FRECNO` varchar(10) DEFAULT NULL,
  `CHALLANNO` varchar(50) DEFAULT NULL,
  `FCHALLANDATE` date DEFAULT NULL,
  `FDATE` date DEFAULT NULL,
  `FUSER` varchar(11) DEFAULT NULL,
  `FLOGDATE` date DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`,`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `NewIndex1` (`FREGNO`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `options` */

DROP TABLE IF EXISTS `options`;

CREATE TABLE `options` (
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAMNO` varchar(1) DEFAULT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FSLNO` varchar(4) DEFAULT NULL,
  `FSUBCODE` varchar(4) DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FSLNO` (`FSLNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `otp` */

DROP TABLE IF EXISTS `otp`;

CREATE TABLE `otp` (
  `FUSERNAME` varchar(100) DEFAULT NULL,
  `FMOBILE` varchar(10) DEFAULT NULL,
  `FEMAIL` varchar(100) DEFAULT NULL,
  `FMREOTP` varchar(6) DEFAULT NULL,
  `FDATE` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `photofile` */

DROP TABLE IF EXISTS `photofile`;

CREATE TABLE `photofile` (
  `ffile` varchar(200) CHARACTER SET latin1 DEFAULT NULL,
  `fpath` varchar(500) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `photos` */

DROP TABLE IF EXISTS `photos`;

CREATE TABLE `photos` (
  `fphotopath` varchar(300) CHARACTER SET latin1 DEFAULT NULL,
  `fnewphotopath` varchar(300) CHARACTER SET latin1 DEFAULT NULL,
  UNIQUE KEY `NewIndex1` (`fphotopath`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `planner` */

DROP TABLE IF EXISTS `planner`;

CREATE TABLE `planner` (
  `internal_code` bigint(11) NOT NULL AUTO_INCREMENT,
  `ref_user_code` bigint(11) DEFAULT NULL,
  `act_date` date DEFAULT NULL,
  `notes` text COLLATE latin1_general_ci,
  `modified_date` datetime DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM AUTO_INCREMENT=2918 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

/*Table structure for table `practical_entry_freeze` */

DROP TABLE IF EXISTS `practical_entry_freeze`;

CREATE TABLE `practical_entry_freeze` (
  `FCOLLCODE` varchar(11) DEFAULT NULL,
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAM` varchar(4) DEFAULT NULL,
  `FBATCH` varchar(2) DEFAULT NULL,
  `FCSUBCODE` varchar(6) DEFAULT NULL,
  `FFREEZED` varchar(2) DEFAULT NULL,
  `FEXAMDATE` date DEFAULT NULL,
  `FEXAMTIME` varchar(20) DEFAULT NULL,
  `PRINTFREEZED` varchar(2) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `practical_master` */

DROP TABLE IF EXISTS `practical_master`;

CREATE TABLE `practical_master` (
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAMNO` varchar(1) DEFAULT NULL,
  `FPRCODE` varchar(5) DEFAULT NULL,
  `FVVCODE` varchar(5) DEFAULT NULL,
  `FTEST` varchar(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `practical_master_11_04` */

DROP TABLE IF EXISTS `practical_master_11_04`;

CREATE TABLE `practical_master_11_04` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FPRCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FVVCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FTEST` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `prmas` */

DROP TABLE IF EXISTS `prmas`;

CREATE TABLE `prmas` (
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fexamno` varchar(1) CHARACTER SET latin1 NOT NULL,
  `fprcode` varchar(6) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `fdeleted` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `prmas1` */

DROP TABLE IF EXISTS `prmas1`;

CREATE TABLE `prmas1` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FSSUBCODE` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSSUBNAME` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
  `FTHEORY` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FINTASS` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FRETAIN` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCSUBCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `prmaster` */

DROP TABLE IF EXISTS `prmaster`;

CREATE TABLE `prmaster` (
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fexamno` varchar(1) CHARACTER SET latin1 NOT NULL,
  `fprcode` varchar(6) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `fvvcode` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `ftest` binary(0) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `reason` */

DROP TABLE IF EXISTS `reason`;

CREATE TABLE `reason` (
  `FREASONCD` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FDESCPN` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FREASONCD`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `ref_modules` */

DROP TABLE IF EXISTS `ref_modules`;

CREATE TABLE `ref_modules` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `module_name` varchar(25) DEFAULT NULL,
  `data1_name` varchar(50) DEFAULT NULL,
  `data2_name` varchar(50) DEFAULT NULL,
  `data3_name` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

/*Table structure for table `res_fee` */

DROP TABLE IF EXISTS `res_fee`;

CREATE TABLE `res_fee` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FCOLLCODE` varchar(10) DEFAULT NULL,
  `FRESULTDATE` varchar(50) DEFAULT NULL,
  `FRVLASTDATE` date DEFAULT NULL,
  `FRTLASTDATE` date DEFAULT NULL,
  `FXEROXLASTDATE` date DEFAULT NULL,
  `FCVLASTDATE` date DEFAULT NULL,
  `FRVFEE` int(11) DEFAULT NULL,
  `FRTFEE` int(11) DEFAULT NULL,
  `FXRFEE` int(11) DEFAULT NULL,
  `FCVFEE` int(11) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`internal_code`,`FDEGREE`,`FEXAMNO`,`FREGNO`),
  UNIQUE KEY `uniq` (`FDEGREE`,`FEXAMNO`,`FREGNO`)
) ENGINE=InnoDB AUTO_INCREMENT=217561 DEFAULT CHARSET=latin1;

/*Table structure for table `res_reval_code_generator` */

DROP TABLE IF EXISTS `res_reval_code_generator`;

CREATE TABLE `res_reval_code_generator` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `college_code` varchar(20) DEFAULT NULL,
  `last_number` int(1) DEFAULT NULL,
  `type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  UNIQUE KEY `NewIndex1` (`college_code`,`type`)
) ENGINE=MyISAM AUTO_INCREMENT=722 DEFAULT CHARSET=latin1;

/*Table structure for table `res_stud` */

DROP TABLE IF EXISTS `res_stud`;

CREATE TABLE `res_stud` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `APPNO` varchar(20) DEFAULT NULL,
  `FAPPDATE` date DEFAULT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FCORRTYPE` varchar(2) DEFAULT NULL,
  `FAMOUNT` decimal(6,2) DEFAULT NULL,
  `FTOTAL` decimal(12,2) DEFAULT NULL,
  `FRECNO` varchar(10) DEFAULT NULL,
  `FDATE` date DEFAULT NULL,
  `FUSER` varchar(11) DEFAULT NULL,
  `FLOGDATE` date DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FACKDATE` datetime DEFAULT NULL COMMENT 'college rvrt ackdate',
  `FACKUSER` varchar(20) DEFAULT NULL COMMENT 'college rvrt ackuser',
  `FDOCNO` varchar(10) DEFAULT NULL COMMENT 'challan prepared doc no from college',
  `FDOCDATE` datetime DEFAULT NULL COMMENT 'challan prepared doc date from college ',
  `FCHALLANNO` varchar(10) DEFAULT NULL COMMENT 'challan preparation',
  `FCHALLANDATE` datetime DEFAULT NULL,
  `FCHALLANPLACE` varchar(30) DEFAULT NULL,
  `FCHALLANAMOUNT` decimal(15,2) DEFAULT NULL,
  `FCHALLANBANK` varchar(30) DEFAULT NULL,
  `FUNIVRECDATE` datetime DEFAULT NULL,
  `FMOBILE` varchar(10) DEFAULT NULL,
  `FPAYMENTYPE` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`internal_code`,`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `NewIndex1` (`FREGNO`)
) ENGINE=InnoDB AUTO_INCREMENT=15605 DEFAULT CHARSET=latin1;

/*Table structure for table `resmarks` */

DROP TABLE IF EXISTS `resmarks`;

CREATE TABLE `resmarks` (
  `FREGNO` varchar(12) DEFAULT NULL,
  `FDEGREE` varchar(6) DEFAULT NULL,
  `FSCHEME` varchar(6) DEFAULT NULL,
  `FEXAMNO` varchar(3) DEFAULT NULL,
  `FSUBCODE` varchar(6) DEFAULT NULL,
  `FTHUE` varchar(10) DEFAULT NULL,
  `FTHVV` varchar(10) DEFAULT NULL,
  `FTHIA` varchar(10) DEFAULT NULL,
  `FTHTOT` varchar(10) DEFAULT NULL,
  `FPRUE` varchar(10) DEFAULT NULL,
  `FPRVV` varchar(10) DEFAULT NULL,
  `FPRIA` varchar(10) DEFAULT NULL,
  `FPRTOT` varchar(10) DEFAULT NULL,
  `FTHPASSMTH` varchar(20) DEFAULT NULL,
  `FPRPASSMTH` varchar(20) DEFAULT NULL,
  `FMAXMARKS` varchar(20) DEFAULT NULL,
  `FTOTMARKS` varchar(20) DEFAULT NULL,
  `FPREVMAX` varchar(20) DEFAULT NULL,
  `FPREVTOT` varchar(20) DEFAULT NULL,
  `FPERCENT` varchar(20) DEFAULT NULL,
  `FCLASS` varchar(20) DEFAULT NULL,
  `FMCNUMBER` varchar(20) DEFAULT NULL,
  `FYEAR` varchar(20) DEFAULT NULL,
  `FEXAMTYPE` varchar(20) DEFAULT NULL,
  `FDELETED` varchar(2) DEFAULT NULL,
  UNIQUE KEY `NewIndex2` (`FREGNO`,`FDEGREE`,`FSUBCODE`),
  KEY `NewIndex1` (`FREGNO`,`FDEGREE`,`FEXAMNO`,`FSUBCODE`),
  KEY `NewIndex3` (`FDEGREE`),
  KEY `NewIndex4` (`FREGNO`),
  KEY `NewIndex5` (`FEXAMNO`),
  KEY `fclass_idx` (`FCLASS`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `resmarksdet` */

DROP TABLE IF EXISTS `resmarksdet`;

CREATE TABLE `resmarksdet` (
  `fregno` varchar(10) CHARACTER SET latin1 NOT NULL,
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fscheme` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fexamno` varchar(1) CHARACTER SET latin1 NOT NULL,
  `fsubcode` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fssubname` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `fmarks` varchar(6) CHARACTER SET latin1 DEFAULT NULL,
  `fyear` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `fexamtype` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `fdeleted` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`fdegree`,`fregno`,`fsubcode`),
  KEY `NewIndex1` (`fregno`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `reval_code_generator` */

DROP TABLE IF EXISTS `reval_code_generator`;

CREATE TABLE `reval_code_generator` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `college_code` varchar(20) DEFAULT NULL,
  `last_number` int(1) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  UNIQUE KEY `NewIndex1` (`college_code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `room_allotment` */

DROP TABLE IF EXISTS `room_allotment`;

CREATE TABLE `room_allotment` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `FCOLLCODE` varchar(10) DEFAULT NULL,
  `FQPCODE` varchar(10) DEFAULT NULL,
  `FHALLNO` varchar(5) DEFAULT NULL,
  `FCAPACITY` int(11) DEFAULT NULL,
  `FDOE` date DEFAULT NULL,
  `FSESSION` varchar(25) DEFAULT NULL,
  `FLOGNAME` varchar(25) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `NewIndex1` (`FCOLLCODE`,`FQPCODE`)
) ENGINE=InnoDB AUTO_INCREMENT=47500 DEFAULT CHARSET=latin1;

/*Table structure for table `s51` */

DROP TABLE IF EXISTS `s51`;

CREATE TABLE `s51` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `s52` */

DROP TABLE IF EXISTS `s52`;

CREATE TABLE `s52` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `s61` */

DROP TABLE IF EXISTS `s61`;

CREATE TABLE `s61` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `s62` */

DROP TABLE IF EXISTS `s62`;

CREATE TABLE `s62` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `s_ref_type` */

DROP TABLE IF EXISTS `s_ref_type`;

CREATE TABLE `s_ref_type` (
  `internal_code` bigint(11) NOT NULL AUTO_INCREMENT,
  `TYPE` varchar(250) DEFAULT NULL,
  `value` varchar(250) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
  `active` int(1) DEFAULT '1',
  `sequence` int(11) DEFAULT '1',
  PRIMARY KEY (`internal_code`),
  KEY `type` (`TYPE`),
  KEY `active` (`active`),
  KEY `value` (`value`)
) ENGINE=MyISAM AUTO_INCREMENT=60 DEFAULT CHARSET=latin1;

/*Table structure for table `s_sysdb` */

DROP TABLE IF EXISTS `s_sysdb`;

CREATE TABLE `s_sysdb` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `college_code` varchar(50) DEFAULT NULL,
  `sysusr` varchar(50) DEFAULT NULL,
  `sysusrkey` varchar(20) DEFAULT NULL,
  `user_type` int(11) DEFAULT NULL,
  `real_name` varchar(100) DEFAULT NULL,
  `super_wiser` int(11) DEFAULT NULL,
  `user_group` int(11) DEFAULT NULL,
  `user_dept` int(11) DEFAULT NULL,
  `can_edit_help_text` int(1) DEFAULT '0',
  `user_theme` varchar(25) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  `last_visited_ip` varchar(30) DEFAULT NULL,
  `email_id` varchar(100) DEFAULT NULL,
  `mobileno` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  UNIQUE KEY `NewIndex1` (`college_code`,`sysusr`),
  KEY `can_edit_help_text` (`can_edit_help_text`),
  KEY `super_wiser` (`super_wiser`),
  KEY `user_group` (`user_group`),
  KEY `user_type` (`user_type`),
  KEY `sysusr` (`sysusr`)
) ENGINE=MyISAM AUTO_INCREMENT=62567 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;

/*Table structure for table `s_sysdb_copy` */

DROP TABLE IF EXISTS `s_sysdb_copy`;

CREATE TABLE `s_sysdb_copy` (
  `internal_code` int(11) NOT NULL,
  `college_code` varchar(50) DEFAULT NULL,
  `sysusr` varchar(50) DEFAULT NULL,
  `sysusrkey` varchar(20) DEFAULT NULL,
  `user_type` int(11) DEFAULT NULL,
  `real_name` varchar(100) DEFAULT NULL,
  `email_id` varchar(100) DEFAULT NULL,
  `super_wiser` int(11) DEFAULT NULL,
  `user_group` int(11) DEFAULT NULL,
  `user_dept` int(11) DEFAULT NULL,
  `can_edit_help_text` int(1) DEFAULT '0',
  `user_theme` varchar(25) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  KEY `can_edit_help_text` (`can_edit_help_text`),
  KEY `super_wiser` (`super_wiser`),
  KEY `user_group` (`user_group`),
  KEY `user_type` (`user_type`),
  KEY `sysusr` (`sysusr`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `s_user_schema` */

DROP TABLE IF EXISTS `s_user_schema`;

CREATE TABLE `s_user_schema` (
  `internal_code` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
  `module_name` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `display_module_name` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `module_type` int(11) DEFAULT NULL,
  `display_type` varchar(19) COLLATE latin1_general_ci DEFAULT NULL,
  `is_menu_only` int(11) DEFAULT '0',
  `menu_function` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `active` int(1) DEFAULT '1',
  `main_menu` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `create_table` int(1) DEFAULT '0',
  `include_save` int(1) DEFAULT '1',
  `include_clear` int(1) DEFAULT '1',
  `include_download` int(1) DEFAULT '1',
  `include_view` int(1) DEFAULT '1',
  `include_generate` int(1) DEFAULT '1',
  `include_close` int(1) DEFAULT '0',
  `custom_links` text COLLATE latin1_general_ci,
  `sequence` decimal(5,2) DEFAULT NULL,
  `grid_type` varchar(15) COLLATE latin1_general_ci DEFAULT 'Normal',
  `grid_default_rows` decimal(15,2) DEFAULT NULL,
  `s_col_names` text COLLATE latin1_general_ci,
  `s_col_model` text COLLATE latin1_general_ci,
  `s_grid_query` text COLLATE latin1_general_ci,
  `s_grid_custom_links` text COLLATE latin1_general_ci,
  `include_help` int(1) DEFAULT '0',
  `js_path` varchar(200) COLLATE latin1_general_ci DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `module_type` (`module_type`),
  KEY `active` (`active`),
  KEY `display_type` (`display_type`),
  KEY `grid_type` (`grid_type`)
) ENGINE=MyISAM AUTO_INCREMENT=100 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci ROW_FORMAT=DYNAMIC;

/*Table structure for table `s_user_schema_elements` */

DROP TABLE IF EXISTS `s_user_schema_elements`;

CREATE TABLE `s_user_schema_elements` (
  `internal_code` bigint(11) NOT NULL AUTO_INCREMENT,
  `ref_s_user_schema_code` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `system_name` varchar(100) DEFAULT NULL,
  `data_type` int(11) DEFAULT NULL,
  `decimals` int(5) DEFAULT NULL,
  `list_of_values` varchar(250) DEFAULT NULL,
  `sequence` decimal(10,2) DEFAULT NULL,
  `field_position` varchar(30) DEFAULT NULL,
  `ref_s_user_schema_group_code` int(11) DEFAULT NULL,
  `description` varchar(200) DEFAULT NULL,
  `default_value` varchar(250) DEFAULT NULL,
  `optional` int(1) DEFAULT NULL,
  `ref_module_code` int(11) DEFAULT NULL,
  `ref_module_code_ref_field` int(11) DEFAULT NULL,
  `ref_module_code_ref_field_on` int(11) DEFAULT NULL,
  `ref_module_code_ref_field_const` varchar(100) DEFAULT NULL,
  `is_ref_module_code_lov` int(1) DEFAULT '0',
  `s_ref_type_meta` int(11) DEFAULT NULL,
  `is_multiple_group` int(11) DEFAULT '0',
  `linked_field` int(11) DEFAULT NULL,
  `linked_field_table` int(11) DEFAULT NULL,
  `source_field` int(11) DEFAULT NULL,
  `suffix` varchar(500) DEFAULT NULL,
  `width` varbinary(100) DEFAULT NULL,
  `padding` int(3) DEFAULT NULL,
  `is_visible` int(11) DEFAULT '1',
  `is_defined` int(1) DEFAULT '1',
  `is_read_only` int(11) DEFAULT '0',
  `is_unique` int(11) DEFAULT '0',
  `db_field` varchar(55) DEFAULT NULL,
  `include_in_popup` int(11) DEFAULT '0',
  `include_in_grid` int(1) DEFAULT '1',
  `include_group_ele_in_header` int(1) DEFAULT '0',
  `is_key_field` int(1) DEFAULT '0',
  `on_enter` varchar(100) DEFAULT NULL,
  `on_exit` varchar(100) DEFAULT NULL,
  `conditional_display` varchar(100) DEFAULT NULL,
  `grid_width` decimal(15,2) DEFAULT NULL,
  `populate_lov` int(1) DEFAULT '1',
  `text_area_rows` decimal(5,2) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `ref_s_user_schema_code` (`ref_s_user_schema_code`),
  KEY `data_type` (`data_type`),
  KEY `ref_s_user_schema_group_code` (`ref_s_user_schema_group_code`),
  KEY `ref_module_code` (`ref_module_code`),
  KEY `s_ref_type_meta` (`s_ref_type_meta`),
  KEY `include_in_grid` (`include_in_grid`),
  KEY `include_in_popup` (`include_in_popup`),
  KEY `is_key_field` (`is_key_field`),
  KEY `is_multiple_group` (`is_multiple_group`),
  KEY `ref_module_code_ref_field` (`ref_module_code_ref_field`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;

/*Table structure for table `s_user_schema_group` */

DROP TABLE IF EXISTS `s_user_schema_group`;

CREATE TABLE `s_user_schema_group` (
  `internal_code` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ref_s_user_schema_code` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `multiple` int(1) DEFAULT '0',
  `sequence` decimal(10,2) DEFAULT NULL,
  `parent_group_code` int(11) DEFAULT '0',
  `is_grid_edit` int(1) DEFAULT '0',
  `col_name` text,
  `col_model` text,
  `grid_edit_query` text,
  `custom_links` text,
  `on_click_event` varchar(40) DEFAULT NULL,
  `inline_div` int(1) DEFAULT '0',
  `group_order_by` varchar(50) DEFAULT NULL,
  `group_default_rows` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `ref_s_user_schema_code` (`ref_s_user_schema_code`),
  KEY `multiple` (`multiple`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;

/*Table structure for table `studadm` */

DROP TABLE IF EXISTS `studadm`;

CREATE TABLE `studadm` (
  `FSLNO` varchar(4) NOT NULL,
  `FAREGNO` varchar(25) DEFAULT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) DEFAULT NULL,
  `FNAME` varchar(50) DEFAULT NULL,
  `FAYEAR` varchar(8) DEFAULT NULL,
  `FFATNAME` varchar(25) DEFAULT NULL,
  `FFAT_OCC` varchar(50) DEFAULT NULL,
  `FMOTNAME` varchar(25) DEFAULT NULL,
  `FMOT_OCC` varchar(50) DEFAULT NULL,
  `FEMAIL` varchar(50) DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FSEX` varchar(1) DEFAULT NULL,
  `FCASTE` varchar(10) DEFAULT NULL,
  `FBLOOD_GROUP` varchar(10) DEFAULT NULL,
  `FCONTACT_NO` varchar(30) DEFAULT NULL,
  `REG_FEE` decimal(12,2) DEFAULT NULL,
  `EXAM_FEE` decimal(12,2) DEFAULT NULL,
  `GRADE_CARD_FEE` decimal(12,2) DEFAULT NULL,
  `TOTAL_FEE` decimal(12,2) DEFAULT NULL,
  `FNATIONAL` varchar(10) DEFAULT NULL,
  `FENGLISH` varchar(100) DEFAULT NULL,
  `FCURRADD1` varchar(40) DEFAULT NULL,
  `FCURRADD2` varchar(40) DEFAULT NULL,
  `FCURRADD3` varchar(40) DEFAULT NULL,
  `FCURRADD4` varchar(40) DEFAULT NULL,
  `FPERMADD1` varchar(40) DEFAULT NULL,
  `FPERMADD2` varchar(40) DEFAULT NULL,
  `FPERMADD3` varchar(40) DEFAULT NULL,
  `FPERMADD4` varchar(40) DEFAULT NULL,
  `FSUBDEGREE` varchar(40) DEFAULT NULL,
  `FPHOTOPATH` text,
  `FLATERAL_ENTRY` varchar(100) DEFAULT NULL,
  `FREC_ORDER_NO` varchar(100) DEFAULT NULL,
  `FREC_ORDER_DATE` date DEFAULT NULL,
  `FAFF_ORDER_NO` varchar(100) DEFAULT NULL,
  `FAFF_ORDER_DATE` date DEFAULT NULL,
  `FRELIGION` varchar(10) DEFAULT NULL,
  `FUSERID` varchar(10) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  `FTOTFEE` int(11) DEFAULT NULL,
  `FFEEPAID` int(11) DEFAULT NULL,
  `FRECNO` varchar(15) DEFAULT NULL,
  `FRECDATE` date DEFAULT NULL,
  `FREMARKS` varchar(50) DEFAULT NULL,
  `FCOMBCODE` varchar(10) DEFAULT NULL,
  `FGENDER` varchar(10) DEFAULT NULL,
  `FXREGNO` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSLNO`),
  KEY `fxregno_idx` (`FXREGNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `studbkp240214` */

DROP TABLE IF EXISTS `studbkp240214`;

CREATE TABLE `studbkp240214` (
  `FSLNO` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FAREGNO` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FNAME` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FAYEAR` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FFATNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FFAT_OCC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FMOTNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FMOT_OCC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FEMAIL` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FSEX` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCASTE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FBLOOD_GROUP` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FCONTACT_NO` varchar(30) CHARACTER SET latin1 DEFAULT NULL,
  `REG_FEE` decimal(12,2) DEFAULT NULL,
  `EXAM_FEE` decimal(12,2) DEFAULT NULL,
  `GRADE_CARD_FEE` decimal(12,2) DEFAULT NULL,
  `TOTAL_FEE` decimal(12,2) DEFAULT NULL,
  `FNATIONAL` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FENGLISH` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD1` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD2` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD3` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD4` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD1` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD2` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD3` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD4` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FSUBDEGREE` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPHOTOPATH` text CHARACTER SET latin1,
  `FLATERAL_ENTRY` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FREC_ORDER_NO` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FREC_ORDER_DATE` date DEFAULT NULL,
  `FAFF_ORDER_NO` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FAFF_ORDER_DATE` date DEFAULT NULL,
  `FRELIGION` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FUSERID` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `fstudid` varchar(10) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `student` */

DROP TABLE IF EXISTS `student`;

CREATE TABLE `student` (
  `FSLNO` varchar(4) DEFAULT NULL,
  `FAREGNO` varchar(25) DEFAULT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FNAME` varchar(50) DEFAULT NULL,
  `FAYEAR` varchar(8) DEFAULT NULL,
  `FFATNAME` varchar(25) DEFAULT NULL,
  `FFAT_OCC` varchar(50) DEFAULT NULL,
  `FMOTNAME` varchar(25) DEFAULT NULL,
  `FMOT_OCC` varchar(50) DEFAULT NULL,
  `FEMAIL` varchar(50) DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FSEX` varchar(1) DEFAULT NULL,
  `FCASTE` varchar(10) DEFAULT NULL,
  `FBLOOD_GROUP` varchar(10) DEFAULT NULL,
  `FCONTACT_NO` varchar(30) DEFAULT NULL,
  `REG_FEE` decimal(12,2) DEFAULT NULL,
  `EXAM_FEE` decimal(12,2) DEFAULT NULL,
  `GRADE_CARD_FEE` decimal(12,2) DEFAULT NULL,
  `TOTAL_FEE` decimal(12,2) DEFAULT NULL,
  `FNATIONAL` varchar(10) DEFAULT NULL,
  `FENGLISH` varchar(100) DEFAULT NULL,
  `FCURRADD1` varchar(40) DEFAULT NULL,
  `FCURRADD2` varchar(40) DEFAULT NULL,
  `FCURRADD3` varchar(40) DEFAULT NULL,
  `FCURRADD4` varchar(40) DEFAULT NULL,
  `FPERMADD1` varchar(40) DEFAULT NULL,
  `FPERMADD2` varchar(40) DEFAULT NULL,
  `FPERMADD3` varchar(40) DEFAULT NULL,
  `FPERMADD4` varchar(40) DEFAULT NULL,
  `FSUBDEGREE` varchar(40) DEFAULT NULL,
  `FPHOTOPATH` text,
  `FLATERAL_ENTRY` varchar(100) DEFAULT NULL,
  `FREC_ORDER_NO` varchar(100) DEFAULT NULL,
  `FREC_ORDER_DATE` date DEFAULT NULL,
  `FAFF_ORDER_NO` varchar(100) DEFAULT NULL,
  `FAFF_ORDER_DATE` date DEFAULT NULL,
  `FRELIGION` varchar(100) DEFAULT NULL,
  `FUSERID` varchar(10) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  `FGENDER` varchar(10) DEFAULT NULL,
  `fstudid` varchar(10) DEFAULT NULL,
  `fexamappblk` varchar(1) DEFAULT NULL,
  `FXREGNO` varchar(10) DEFAULT NULL,
  `FSECTION` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FREGNO`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSLNO` (`FSLNO`),
  KEY `NewIndex_degreg` (`FDEGREE`,`FREGNO`),
  KEY `fxregno_idx1` (`FXREGNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `student_27102014` */

DROP TABLE IF EXISTS `student_27102014`;

CREATE TABLE `student_27102014` (
  `FSLNO` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FAREGNO` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FNAME` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FAYEAR` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FFATNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FFAT_OCC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FMOTNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FMOT_OCC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FEMAIL` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FSEX` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCASTE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FBLOOD_GROUP` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FCONTACT_NO` varchar(30) CHARACTER SET latin1 DEFAULT NULL,
  `REG_FEE` decimal(12,2) DEFAULT NULL,
  `EXAM_FEE` decimal(12,2) DEFAULT NULL,
  `GRADE_CARD_FEE` decimal(12,2) DEFAULT NULL,
  `TOTAL_FEE` decimal(12,2) DEFAULT NULL,
  `FNATIONAL` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FENGLISH` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD1` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD2` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD3` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FCURRADD4` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD1` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD2` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD3` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPERMADD4` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FSUBDEGREE` varchar(40) CHARACTER SET latin1 DEFAULT NULL,
  `FPHOTOPATH` text CHARACTER SET latin1,
  `FLATERAL_ENTRY` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FREC_ORDER_NO` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FREC_ORDER_DATE` date DEFAULT NULL,
  `FAFF_ORDER_NO` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FAFF_ORDER_DATE` date DEFAULT NULL,
  `FRELIGION` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FUSERID` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `fstudid` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `fexamappblk` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FXREGNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `studfee` */

DROP TABLE IF EXISTS `studfee`;

CREATE TABLE `studfee` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FREGNO` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FFEECODE` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FAMOUNT` decimal(15,2) DEFAULT NULL,
  `FLOGNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FREGNO`,`FEXAMNO`,`FFEECODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FFEECODE` (`FFEECODE`),
  KEY `NewIndex2` (`FCOLLCODE`,`FDEGREE`,`FREGNO`),
  FULLTEXT KEY `NewIndex1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FFEECODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `studfee_2013_1` */

DROP TABLE IF EXISTS `studfee_2013_1`;

CREATE TABLE `studfee_2013_1` (
  `FDEGREE` varchar(10) DEFAULT NULL,
  `FEXAMNO` varchar(5) NOT NULL DEFAULT '',
  `FCOLLCODE` varchar(10) DEFAULT NULL,
  `FREGNO` varchar(20) NOT NULL DEFAULT '',
  `FFEECODE` varchar(20) NOT NULL DEFAULT '',
  `FAMOUNT` decimal(15,2) DEFAULT NULL,
  `FLOGNAME` varchar(25) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FREGNO`,`FEXAMNO`,`FFEECODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FFEECODE` (`FFEECODE`),
  FULLTEXT KEY `NewIndex1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FFEECODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `studhist` */

DROP TABLE IF EXISTS `studhist`;

CREATE TABLE `studhist` (
  `FSLNO` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) DEFAULT NULL,
  `FAREGNO` varchar(25) DEFAULT NULL,
  `FDEGREE` varchar(5) DEFAULT NULL,
  `FEXAMNO` varchar(1) DEFAULT NULL,
  `FCOLLCODE` varchar(4) DEFAULT NULL,
  `FAYEAR` varchar(8) DEFAULT NULL,
  `FNAME` varchar(50) DEFAULT NULL,
  `FFATNAME` varchar(25) DEFAULT NULL,
  `FFAT_OCC` varchar(50) DEFAULT NULL,
  `FMOTNAME` varchar(25) DEFAULT NULL,
  `FMOT_OCC` varchar(50) DEFAULT NULL,
  `FEMAIL` varchar(50) DEFAULT NULL,
  `FDOB` date DEFAULT NULL,
  `FSEX` varchar(1) DEFAULT NULL,
  `FCASTE` varchar(10) DEFAULT NULL,
  `FBLOOD_GROUP` varchar(10) DEFAULT NULL,
  `FCONTACT_NO` varchar(30) DEFAULT NULL,
  `REG_FEE` decimal(12,2) DEFAULT NULL,
  `EXAM_FEE` decimal(12,2) DEFAULT NULL,
  `GRADE_CARD_FEE` decimal(12,2) DEFAULT NULL,
  `TOTAL_FEE` decimal(12,2) DEFAULT NULL,
  `FNATIONAL` varchar(10) DEFAULT NULL,
  `FENGLISH` varchar(100) DEFAULT NULL,
  `FCURRADD1` varchar(40) DEFAULT NULL,
  `FCURRADD2` varchar(40) DEFAULT NULL,
  `FCURRADD3` varchar(40) DEFAULT NULL,
  `FCURRADD4` varchar(40) DEFAULT NULL,
  `FPERMADD1` varchar(40) DEFAULT NULL,
  `FPERMADD2` varchar(40) DEFAULT NULL,
  `FPERMADD3` varchar(40) DEFAULT NULL,
  `FPERMADD4` varchar(40) DEFAULT NULL,
  `FSUBDEGREE` varchar(40) DEFAULT NULL,
  `FPHOTOPATH` text,
  `FLATERAL_ENTRY` varchar(100) DEFAULT NULL,
  `FREC_ORDER_NO` varchar(100) DEFAULT NULL,
  `FREC_ORDER_DATE` date DEFAULT NULL,
  `FAFF_ORDER_NO` varchar(100) DEFAULT NULL,
  `FAFF_ORDER_DATE` date DEFAULT NULL,
  `FRELIGION` varchar(100) DEFAULT NULL,
  `FUSERID` varchar(10) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `subject` */

DROP TABLE IF EXISTS `subject`;

CREATE TABLE `subject` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FSUBNAME` varchar(100) DEFAULT NULL,
  `FSUBSHORT` varchar(10) DEFAULT NULL,
  `FSSUBCODE` varchar(1) NOT NULL,
  `FSSUBNAME` varchar(15) DEFAULT NULL,
  `FSMAXMARKS` int(3) DEFAULT NULL,
  `FSHORTNAME` varchar(5) DEFAULT NULL,
  `FQPCODE` varchar(25) DEFAULT NULL,
  `FTHEORY` varchar(1) DEFAULT NULL,
  `FINTASS` varchar(1) DEFAULT NULL,
  `FRETAIN` varchar(1) DEFAULT NULL,
  `FMANDATORY` varchar(1) DEFAULT NULL,
  `FSUSPEND` varchar(1) DEFAULT NULL,
  `FCSUBCODE` varchar(5) DEFAULT NULL,
  `FPARENTSUB` varchar(5) DEFAULT NULL,
  `FDOE` date DEFAULT '0000-00-00',
  `FSESSION` varchar(25) DEFAULT NULL,
  `FDELETED` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FSUBCODE`,`FSSUBCODE`),
  UNIQUE KEY `NewIndex1` (`FDEGREE`,`FEXAMNO`,`FCSUBCODE`),
  FULLTEXT KEY `NewIndex_1` (`FDEGREE`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `subject_11_04` */

DROP TABLE IF EXISTS `subject_11_04`;

CREATE TABLE `subject_11_04` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FSUBNAME` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FSUBSHORT` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FSSUBCODE` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSSUBNAME` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
  `FSMAXMARKS` int(3) DEFAULT NULL,
  `FSHORTNAME` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FQPCODE` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FTHEORY` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FINTASS` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FRETAIN` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FMANDATORY` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FSUSPEND` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCSUBCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPARENTSUB` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FDOE` date DEFAULT '0000-00-00',
  `FSESSION` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `subprvvupd` */

DROP TABLE IF EXISTS `subprvvupd`;

CREATE TABLE `subprvvupd` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FSUBNAME` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FSSUBCODE` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSSUBNAME` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
  `FSUSPEND` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `system_menu` */

DROP TABLE IF EXISTS `system_menu`;

CREATE TABLE `system_menu` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `menu_name` varchar(100) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
  `menu_function` varchar(100) DEFAULT NULL,
  `active` int(1) DEFAULT '1',
  `system_menu` varchar(1) DEFAULT NULL,
  `display_on_load` varchar(1) DEFAULT 'F',
  `id` varchar(27) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
  `sequence` decimal(3,2) DEFAULT NULL,
  PRIMARY KEY (`internal_code`),
  KEY `menu_function` (`menu_function`),
  KEY `menu_name` (`menu_name`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

/*Table structure for table `t2` */

DROP TABLE IF EXISTS `t2`;

CREATE TABLE `t2` (
  `internal_code` int(11) NOT NULL DEFAULT '0',
  `college_code` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `sysusr` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `sysusrkey` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `user_type` int(11) DEFAULT NULL,
  `real_name` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `email_id` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `super_wiser` int(11) DEFAULT NULL,
  `user_group` int(11) DEFAULT NULL,
  `user_dept` int(11) DEFAULT NULL,
  `can_edit_help_text` int(1) DEFAULT '0',
  `user_theme` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `last_visited_ip` varchar(30) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tabdetl` */

DROP TABLE IF EXISTS `tabdetl`;

CREATE TABLE `tabdetl` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FQPCODE` varchar(5) NOT NULL,
  `FPACKET` varchar(4) NOT NULL,
  `FVALNO` varchar(1) NOT NULL,
  `FSLNO` varchar(2) NOT NULL,
  `FTOTMARKS` decimal(5,1) DEFAULT NULL,
  `FQ01` varchar(5) DEFAULT NULL,
  `FQ02` varchar(5) DEFAULT NULL,
  `FQ03` varchar(5) DEFAULT NULL,
  `FQ04` varchar(5) DEFAULT NULL,
  `FQ05` varchar(5) DEFAULT NULL,
  `FQ06` varchar(5) DEFAULT NULL,
  `FQ07` varchar(5) DEFAULT NULL,
  `FQ08` varchar(5) DEFAULT NULL,
  `FQ09` varchar(5) DEFAULT NULL,
  `FQ10` varchar(5) DEFAULT NULL,
  `FQ11` varchar(5) DEFAULT NULL,
  `FQ12` varchar(5) DEFAULT NULL,
  `FQ13` varchar(5) DEFAULT NULL,
  `FQ14` varchar(5) DEFAULT NULL,
  `FQ15` varchar(5) DEFAULT NULL,
  `FQ16` varchar(5) DEFAULT NULL,
  `FQ17` varchar(5) DEFAULT NULL,
  `FQ18` varchar(5) DEFAULT NULL,
  `FQ19` varchar(5) DEFAULT NULL,
  `FQ20` varchar(5) DEFAULT NULL,
  `FQ21` varchar(5) DEFAULT NULL,
  `FQ22` varchar(5) DEFAULT NULL,
  `FQ23` varchar(5) DEFAULT NULL,
  `FQ24` varchar(5) DEFAULT NULL,
  `FQ25` varchar(5) DEFAULT NULL,
  `FQ26` varchar(5) DEFAULT NULL,
  `FQ27` varchar(5) DEFAULT NULL,
  `FQ28` varchar(5) DEFAULT NULL,
  `FQ29` varchar(5) DEFAULT NULL,
  `FQ30` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FQPCODE`,`FPACKET`,`FVALNO`,`FSLNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `tabhead` */

DROP TABLE IF EXISTS `tabhead`;

CREATE TABLE `tabhead` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FQPCODE` varchar(5) NOT NULL,
  `FPACKET` varchar(5) NOT NULL,
  `FVALNO` varchar(1) NOT NULL,
  `FCHKNO` varchar(5) DEFAULT NULL,
  `FFREEZE` varchar(1) DEFAULT NULL,
  `FSYSDATE` datetime DEFAULT NULL,
  `FENTDATE` datetime DEFAULT NULL,
  `FTEACHCODE` varchar(8) DEFAULT NULL,
  `FNOSCRIPTS` decimal(5,2) DEFAULT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FQPCODE`,`FPACKET`,`FVALNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `tabsummary` */

DROP TABLE IF EXISTS `tabsummary`;

CREATE TABLE `tabsummary` (
  `FQPCODE` varchar(5) DEFAULT NULL,
  `FPACKET` varchar(5) DEFAULT NULL,
  `FSLNO` varchar(5) DEFAULT NULL,
  `v1` decimal(5,2) DEFAULT NULL,
  `v2` decimal(5,2) DEFAULT NULL,
  `v3` decimal(5,2) DEFAULT NULL,
  `v4` decimal(5,2) DEFAULT NULL,
  `v5` decimal(5,2) DEFAULT NULL,
  `DM` decimal(5,2) DEFAULT NULL,
  `FDEVMARKS` decimal(5,2) DEFAULT NULL,
  `FDEVIATION` varchar(1) DEFAULT NULL,
  `FTEST` int(2) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `tmp1` */

DROP TABLE IF EXISTS `tmp1`;

CREATE TABLE `tmp1` (
  `fyear` varchar(4) CHARACTER SET latin1 NOT NULL,
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fexamno` varchar(1) CHARACTER SET latin1 NOT NULL,
  `fcombcode` varchar(4) CHARACTER SET latin1 NOT NULL,
  `fcatcode` varchar(10) CHARACTER SET latin1 NOT NULL,
  `fheadcode` varchar(20) CHARACTER SET latin1 NOT NULL,
  `fconstype` varchar(15) CHARACTER SET latin1 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmp11` */

DROP TABLE IF EXISTS `tmp11`;

CREATE TABLE `tmp11` (
  `FYEAR` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FCOMBCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FCATCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FHEADCODE` varchar(20) CHARACTER SET latin1 NOT NULL,
  `FCONSTYPE` varchar(15) CHARACTER SET latin1 NOT NULL,
  `FFEE` int(11) DEFAULT NULL,
  `FPRFEE` int(11) DEFAULT NULL,
  `FMAXFEE` int(11) DEFAULT NULL,
  `FREPFEE` int(11) DEFAULT NULL,
  `FREPPRFEE` int(11) DEFAULT NULL,
  `fdeleted` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpcanddet_tmp` */

DROP TABLE IF EXISTS `tmpcanddet_tmp`;

CREATE TABLE `tmpcanddet_tmp` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FPASSMTH` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FINSERTED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FPRESENT` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT '2013',
  `FEXAMTYPE` varchar(5) CHARACTER SET latin1 DEFAULT '1',
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `fthpr` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `FHALLNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `NewIndex1` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FREGNO`,`FSUBCODE`),
  FULLTEXT KEY `canddet_idx1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpcandsum_tmp` */

DROP TABLE IF EXISTS `tmpcandsum_tmp`;

CREATE TABLE `tmpcandsum_tmp` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FREGNO` varchar(10) CHARACTER SET latin1 NOT NULL,
  `FCATEGORY` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FSEX` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPEARA` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEA` decimal(10,2) DEFAULT NULL,
  `FRECPTNOA` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEA` date DEFAULT NULL,
  `FAPPEARB` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEB` decimal(10,2) DEFAULT NULL,
  `FRECPTNOB` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEB` date DEFAULT NULL,
  `FAPPEARC` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEC` decimal(10,2) DEFAULT NULL,
  `FRECPTNOC` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEC` date DEFAULT NULL,
  `FAPPEARD` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEED` decimal(10,2) DEFAULT NULL,
  `FRECPTNOD` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATED` date DEFAULT NULL,
  `FAPPEARE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEE` decimal(10,2) DEFAULT NULL,
  `FRECPTNOE` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEE` date DEFAULT NULL,
  `FAPPEARF` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEF` decimal(10,2) DEFAULT NULL,
  `FRECPTNOF` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEF` date DEFAULT NULL,
  `FAPPEARG` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEG` decimal(10,2) DEFAULT NULL,
  `FRECPTNOG` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEG` date DEFAULT NULL,
  `FAPPEARH` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEH` decimal(10,2) DEFAULT NULL,
  `FRECPTNOH` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEH` date DEFAULT NULL,
  `FAPPEARI` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEI` decimal(10,2) DEFAULT NULL,
  `FRECPTNOI` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEI` date DEFAULT NULL,
  `FAPPEARJ` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMFEEJ` decimal(10,2) DEFAULT NULL,
  `FRECPTNOJ` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATEJ` date DEFAULT NULL,
  `FRECPTNO` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FRECPTDATE` date DEFAULT NULL,
  `FTOTALFEE` decimal(10,2) DEFAULT NULL,
  `FREMARKS` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `FYEAR` int(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FAPPNO` varchar(8) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGNAME` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(5) CHARACTER SET latin1 DEFAULT 'FALSE',
  `FCNTRCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FGENDER` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FFRESHEXAM` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FREGNO`),
  UNIQUE KEY `regno_idx` (`FDEGREE`,`FCOLLCODE`,`FREGNO`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `NewIndex1` (`FREGNO`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpcolldesp` */

DROP TABLE IF EXISTS `tmpcolldesp`;

CREATE TABLE `tmpcolldesp` (
  `FCOLLCODE` varchar(4) CHARACTER SET latin1 DEFAULT NULL,
  `FDOE` date DEFAULT NULL,
  `FSESSION` varchar(2) CHARACTER SET latin1 DEFAULT NULL,
  `FDEGREE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCSUBCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FNOBUNDLE` int(2) DEFAULT NULL,
  `FTOTSCRIPT` int(5) DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpdupl` */

DROP TABLE IF EXISTS `tmpdupl`;

CREATE TABLE `tmpdupl` (
  `appno` varchar(25) NOT NULL DEFAULT '',
  `fregno` varchar(10) CHARACTER SET latin1 NOT NULL,
  `fcount` bigint(21) NOT NULL DEFAULT '0',
  `fnewappno` varchar(25) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpdupl1` */

DROP TABLE IF EXISTS `tmpdupl1`;

CREATE TABLE `tmpdupl1` (
  `appno` varchar(25) NOT NULL DEFAULT '',
  `fregno` varchar(10) CHARACTER SET latin1 NOT NULL,
  `fnewappno` varbinary(29) DEFAULT NULL,
  PRIMARY KEY (`appno`,`fregno`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpmarks_pr_tmp` */

DROP TABLE IF EXISTS `tmpmarks_pr_tmp`;

CREATE TABLE `tmpmarks_pr_tmp` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FOCOLLCODE` varchar(4) DEFAULT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FBATCH` varchar(4) DEFAULT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS11` int(3) DEFAULT NULL,
  `FMARKS21` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`),
  KEY `new_index` (`FDEGREE`,`FEXAMNO`,`FCOLLCODE`,`FSUBCODE`,`FBATCH`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `tmpmarks_tmp` */

DROP TABLE IF EXISTS `tmpmarks_tmp`;

CREATE TABLE `tmpmarks_tmp` (
  `FDEGREE` varchar(5) NOT NULL,
  `FEXAMNO` varchar(1) NOT NULL,
  `FCOLLCODE` varchar(4) NOT NULL,
  `FREGNO` varchar(10) NOT NULL,
  `FSUBCODE` varchar(5) NOT NULL,
  `FPRESENT` varchar(1) DEFAULT NULL,
  `FMARKS` int(3) DEFAULT NULL,
  `FLOGNAME` varchar(10) DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(10) DEFAULT NULL,
  `FYEAR` varchar(4) DEFAULT NULL,
  `FEXAMTYPE` varchar(1) DEFAULT NULL,
  `FREPEATER` varchar(1) DEFAULT NULL,
  `FMARKS2` int(3) DEFAULT NULL,
  PRIMARY KEY (`FDEGREE`,`FEXAMNO`,`FREGNO`,`FSUBCODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FREGNO` (`FREGNO`),
  KEY `FSUBCODE` (`FSUBCODE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `tmppgdeg` */

DROP TABLE IF EXISTS `tmppgdeg`;

CREATE TABLE `tmppgdeg` (
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fdescpn` varchar(100) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmppr` */

DROP TABLE IF EXISTS `tmppr`;

CREATE TABLE `tmppr` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FPRCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FVVCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FTEST` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpprmas` */

DROP TABLE IF EXISTS `tmpprmas`;

CREATE TABLE `tmpprmas` (
  `fdegree` varchar(5) CHARACTER SET latin1 NOT NULL,
  `fexamno` varchar(1) CHARACTER SET latin1 NOT NULL,
  `fprcode` varchar(5) CHARACTER SET latin1 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpstudfee_tmp` */

DROP TABLE IF EXISTS `tmpstudfee_tmp`;

CREATE TABLE `tmpstudfee_tmp` (
  `FDEGREE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FEXAMNO` varchar(5) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FCOLLCODE` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
  `FREGNO` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FFEECODE` varchar(20) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `FAMOUNT` decimal(15,2) DEFAULT NULL,
  `FLOGNAME` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FLOGDATE` datetime DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  PRIMARY KEY (`FREGNO`,`FEXAMNO`,`FFEECODE`),
  KEY `FCOLLCODE` (`FCOLLCODE`),
  KEY `FDEGREE` (`FDEGREE`),
  KEY `FEXAMNO` (`FEXAMNO`),
  KEY `FFEECODE` (`FFEECODE`),
  KEY `NewIndex2` (`FCOLLCODE`,`FDEGREE`,`FREGNO`),
  FULLTEXT KEY `NewIndex1` (`FDEGREE`,`FCOLLCODE`,`FEXAMNO`,`FREGNO`,`FFEECODE`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `tmpsub1` */

DROP TABLE IF EXISTS `tmpsub1`;

CREATE TABLE `tmpsub1` (
  `FDEGREE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FEXAMNO` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSUBCODE` varchar(5) CHARACTER SET latin1 NOT NULL,
  `FSSUBCODE` varchar(1) CHARACTER SET latin1 NOT NULL,
  `FSSUBNAME` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
  `FTHEORY` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FINTASS` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FRETAIN` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `FCSUBCODE` varchar(5) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*Table structure for table `trans` */

DROP TABLE IF EXISTS `trans`;

CREATE TABLE `trans` (
  `fgno` int(11) DEFAULT NULL,
  `fregno` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `fname` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `fadd` varchar(250) COLLATE latin1_general_ci DEFAULT NULL,
  `fphone` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `ffax` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `femail` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `fgtype` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `fmsg` varchar(250) COLLATE latin1_general_ci DEFAULT NULL,
  `fgdate` date DEFAULT NULL,
  `ftodeptcode` int(11) DEFAULT NULL,
  `ftousercode` int(11) DEFAULT NULL,
  `fuser` varchar(50) COLLATE latin1_general_ci DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

/*Table structure for table `upload` */

DROP TABLE IF EXISTS `upload`;

CREATE TABLE `upload` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `Upload_data` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`internal_code`)
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;

/*Table structure for table `user_rights` */

DROP TABLE IF EXISTS `user_rights`;

CREATE TABLE `user_rights` (
  `internal_code` int(11) NOT NULL AUTO_INCREMENT,
  `college_code` varchar(11) COLLATE latin1_general_ci DEFAULT NULL,
  `ref_s_sysdb_code` int(11) DEFAULT NULL,
  `module_type` int(11) DEFAULT NULL,
  `module_id` varchar(11) COLLATE latin1_general_ci DEFAULT NULL,
  `group_id` int(11) DEFAULT NULL,
  `is_view` int(2) DEFAULT '1',
  `is_view_group_records` int(2) DEFAULT '0',
  `is_view_dep_records` int(2) DEFAULT '0',
  `is_view_all_records` int(2) DEFAULT '0',
  `is_add` int(2) DEFAULT '0',
  `is_edit` int(2) DEFAULT '0',
  `is_edit_group_records` int(2) DEFAULT '0',
  `is_edit_dep_records` int(2) DEFAULT '0',
  `is_edit_all_records` int(2) DEFAULT '0',
  `is_del` int(2) DEFAULT '0',
  `is_del_group_records` int(2) DEFAULT '0',
  `is_del_dep_records` int(2) DEFAULT '0',
  `is_del_all_records` int(2) DEFAULT '0',
  PRIMARY KEY (`internal_code`),
  KEY `ref_s_sysdb_code` (`ref_s_sysdb_code`),
  KEY `module_type` (`module_type`),
  KEY `module_id` (`module_id`),
  KEY `is_view` (`is_view`)
) ENGINE=MyISAM AUTO_INCREMENT=9381 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

/*Table structure for table `usersub` */

DROP TABLE IF EXISTS `usersub`;

CREATE TABLE `usersub` (
  `FUSER` varchar(20) NOT NULL,
  `FDEGREE` varchar(5) NOT NULL,
  `FSUBCODE` text,
  `FCOLLEGECODE` varchar(4) DEFAULT NULL,
  PRIMARY KEY (`FUSER`,`FDEGREE`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `valqp` */

DROP TABLE IF EXISTS `valqp`;

CREATE TABLE `valqp` (
  `FCOLLCODE` varchar(4) NOT NULL,
  `FQPCODE` varchar(5) NOT NULL,
  `FFRPAKCET` varchar(4) NOT NULL,
  `FTOPACKET` varchar(4) NOT NULL,
  `FVALNO` varchar(1) NOT NULL,
  PRIMARY KEY (`FCOLLCODE`,`FQPCODE`,`FFRPAKCET`,`FTOPACKET`,`FVALNO`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `yog` */

DROP TABLE IF EXISTS `yog`;

CREATE TABLE `yog` (
  `internal_code` int(11) NOT NULL DEFAULT '0',
  `college_code` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `sysusr` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `sysusrkey` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `user_type` int(11) DEFAULT NULL,
  `real_name` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `email_id` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `super_wiser` int(11) DEFAULT NULL,
  `user_group` int(11) DEFAULT NULL,
  `user_dept` int(11) DEFAULT NULL,
  `can_edit_help_text` int(1) DEFAULT '0',
  `user_theme` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
  `FDELETED` varchar(1) CHARACTER SET latin1 DEFAULT NULL,
  `last_visited_ip` varchar(30) CHARACTER SET latin1 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;