Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8437377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:24:46+00:00 2026-06-10T07:24:46+00:00

Hello currently working on my management system. So my problem is my student has

  • 0

Hello currently working on my management system.
So my problem is my student has a field of status. and has 2 values Enrolled and Not enrolled.
Currently my enroll is working. My idea is once the system date would be April the students status would change from enroll to Not Enrolled , and when the students enrolled the status would change to enrolled no problem with the enroll part just the not enrolled part.

Would appreciate any ideas on how to perform this. Currently i am imagining an If else on my enroll page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:24:48+00:00Added an answer on June 10, 2026 at 7:24 am

    I would add a new DATE column to the table and save only enrolled students information:

    TABLE NAME: AAE_ENROLLED //(AAE stands for your initials ;) )
    COLUMN 1: STUDENT_ID TYPE VARCHAR(50)
    COLUMN 2: ENROLLMENT_DATE TYPE DATE
    

    Say that you want all the students that enrolled after the beginning of April, all you have to do is:

    select * from AAE_ENROLLED 
    where ENROLLMENT_DATE > STR_TO_DATE('2012-04-01','%Y-%m-%d')
    

    If you want to find students which where NOT enrolled you can use NOT EXIST

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello , I am currently working on the student association's website. The student's association
Hello wise stackoverflow users I am currently working on a private messaging system in
Hello Ruby/Rails/Merb developers! Im currently working on a web project that will have a
Hello I am currently working with a AT91SAM7X256 running on bare metal. I have
Hello I am currently working on a django project, in one of my Models
I'm currently working on a fairly large project that has been migrated from Ant
Hello I am working on a GWT sample history management application. Here is my
Hello I am currently working on implementing a spatial search feature for a website
Hello I am currently working with sockets and input/output streams. I have a strange
Hello currently working with this code $qry_display = SELECT student_id, fname, sex, lname, mname,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.