Computer AwarenessHardSBI Clerk Mains · IBPS SO IT Officer
The condition WHERE Salary BETWEEN 20000 AND 30000 selects rows whose salary is:
- A. From 20000 to 30000, including both 20000 and 30000
- B. Above 20000 and below 30000, excluding both limits
- C. From 20000 up to but not including 30000
- D. Above 20000 and up to and including 30000
Correct answer: A. From 20000 to 30000, including both 20000 and 30000
BETWEEN is inclusive at both ends: it means Salary >= 20000 AND Salary <= 30000.
हिंदी में
शर्त WHERE Salary BETWEEN 20000 AND 30000 उन पंक्तियों को चुनती है जिनका वेतन है:
- A. 20000 से 30000 तक, 20000 और 30000 दोनों सहित
- B. 20000 से अधिक और 30000 से कम, दोनों सीमाओं को छोड़कर
- C. 20000 से शुरू होकर, 30000 को छोड़कर
- D. 20000 से अधिक और ऊपरी सीमा 30000 सहित
उत्तर: A. BETWEEN दोनों सिरों पर समावेशी है: इसका अर्थ है Salary >= 20000 AND Salary <= 30000।
More Computer Awareness questions
- A query must list the customers who have no phone number recorded (the Phone column is NULL). Which condition works?
- A City column holds Delhi, Pune, Delhi, NULL, Pune, NULL in six rows. What does SELECT COUNT(DISTINCT City) return?
- A transaction runs: INSERT row 1; SAVEPOINT s1; INSERT row 2; ROLLBACK TO s1; COMMIT. Which of the inserted rows are in the table…
- A transfer debits Account A, but the system crashes before Account B is credited. On restart, the debit is undone, so it is as if the…
- Two transactions run at the same time on the same accounts, yet the final result is the same as if one had run fully before the other…
- A database stores records as a tree in which every child record has exactly one parent, as in a company → department → employee chart…