Question: write query codes for to show student results after login session by using collegeID DROP TABLE IF EXISTS ` tblresult ` ; CREATE TABLE IF

write query codes for to show student results after login session by using collegeID
DROP TABLE IF EXISTS `tblresult`;
CREATE TABLE IF NOT EXISTS `tblresult`(
`id` int NOT NULL,
`StudentId` int DEFAULT NULL,
`ClassId` int DEFAULT NULL,
`SubjectId` int DEFAULT NULL,
`quiz-number` int DEFAULT NULL,
`marks` int DEFAULT NULL,
DROP TABLE IF EXISTS `tblclasses`;
CREATE TABLE IF NOT EXISTS `tblclasses`(
`id` int NOT NULL AUTO_INCREMENT,
`ClassName` varchar(80) DEFAULT NULL,
`ClassNameNumeric` int NOT NULL,
`Section` varchar(5) NOT NULL,
`CreationDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UpdationDate` timestamp NOT NULL DEFAULT '0000-00-0000:00:00' ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2111113 DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `tblstudents`;
CREATE TABLE IF NOT EXISTS `tblstudents`(
`StudentId` int NOT NULL AUTO_INCREMENT,
`StudentName` varchar(100) NOT NULL,
`RollId` varchar(100) NOT NULL,
`StudentEmail` varchar(100) NOT NULL,
`Gender` varchar(10) NOT NULL,
`DOB` varchar(100) NOT NULL,
`ClassId` int NOT NULL,
`RegDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
`Status` int NOT NULL,
PRIMARY KEY (`StudentId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `tblsubjects`;
CREATE TABLE IF NOT EXISTS `tblsubjects`(
`id` int NOT NULL AUTO_INCREMENT,
`SubjectName` varchar(100) NOT NULL,
`SubjectCode` varchar(100) NOT NULL,
`Creationdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UpdationDate` timestamp NOT NULL DEFAULT '0000-00-0000:00:00' ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
 write query codes for to show student results after login session

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!