Results 1 to 3 of 3

Thread: Sql

  1. #1
    Junior Member
    Join Date
    Jun 2006

    Smile Sql

    Find all employee salary for last 90 days where salary is between 70,000 and 100,000

    plz write the syntax


  2. #2
    Junior Member
    Join Date
    Jun 2007

    Re: Sql

    could be you more especific? with rmdbs and what are the tbale fileds?
    if you table had a salary pay day the select could be this

    select salary
    from salary_table
    where salary between 70000 and 100000
    and salary_pay_day between today-90 and today


  3. #3
    Contributing Member
    Join Date
    Apr 2007

    Re: Sql

    syntax for query is:-

    select salary from emp_table where salary between 70000 and 100000
    and salary_4_day between sysdate-90 and sysdate;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.