Sql Interview QUESTIONS AND ANSWERS :: part5 : 11 to 15
Following SQL Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :
11.Aggregate functions are functions that take a ___________ as input and return a single value. |
Collection of values |
Single value |
Double value |
All of the mentioned |
12.Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79. |
SELECT * FROM weather WHERE humidity IN (63 to 79) |
SELECT * FROM weather WHERE humidity NOT IN (63 AND 79) |
SELECT * FROM weather WHERE humidity BETWEEN 63 AND 79 |
SELECT * FROM weather WHERE humidity NOT BETWEEN 63 AND 79 |
13.Which of the following command makes the updates performed by the transaction permanent in the database ? #62. Which of the following command makes the updates performed by the transaction permanent in the database ? |
ROLLBACK |
COMMIT |
TRUNCATE |
DELETE |
14.Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70. |
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70 |
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70 |
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70 |
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70 |
More Sql Interview QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET