SQL Server statement

Tags:
SQL Server
The table name is students and the column name is ID contains
1
2
3
4
5
6
7
I want to know the statement should proceeding till 5 and it should be false at 6 and go to again 1 (i.e. without do while....and go...condition). Please!


Software/Hardware used:
sql server
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    What code have you tried so far? This sounds like a homework question. We will help you with it and figure out you errors but we wont do the assignment for you. It only get tougher down the road if you don't understand the basics.
    135,485 pointsBadges:
    report
  • carlosdl
    Yes, you have to post your best attempt.

    You also need to ask specific questions if you are having trouble doing it instead of asking for the complete solution.
    85,450 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: