Write a query to find the number of employees who got more
that 20,000/- and 50,000/- sal
Write a query to find the number of sudents in each course
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
1. select count(*)
from employee
where sal>=20000 and sal<=50000
2. select count(*)
from student
group by course
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / vishal
oh sorry i missed it..
thx for correcting me :-)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vishal
assuming emp-id and sal tobe the fields in the
table "Employee" followng query can be used
Select emp-id, sal from Employee where sal between "20000"
and "50000"
OR
you have to run two different queries to extract records as
selecting records above 20,000 would cover the second part
too
2. select count (stud_id) from Student where
course_name="Testing"
hope they would help
| Is This Answer Correct ? | 0 Yes | 2 No |
How can you eliminate the product risk in your project?
What are cookies? Tell me the advantage and disadvantage of cookies?
Tell me about something you did ? or failed to do ? that you now feel a little ashamed of.
WHAT ARE THE VARIOUS RISKS INVOLVE IN TESTING?
What parameters to consider for Performance Testing?
Testplan & Tesdata a.)Testers workbench b.)Testing Strategy c.)Testing Policy d.)Testing Measurements
What is Multipath I/O?s
There are 3 employees(say 2 colleagues and u not from same dept) in an organisation they used to discuss any thing except their salaries and one day stranger came and asked u to tell the average salary!plz give me the solution.
What is linked Servers in SQL Server
What is software failure?
write a querry .if 10 records in a table.i want only 1 record and 3 reocrd and 10 record. how to write a querry.
What is the role of moderator in the review process?