I have one table,in that table
(1)i have java1.1 version books are 2 and java1.5 version
books are 4.
(2).Net2.0 books are 3, .Net3.5 books are 2
(3)ABC1.6 books are 4, ABC2.0 books are 3.
Now i want output is like
Book Count
Java 6
.Net 5
ABC 7
For this i need sql query, please help me if anyone how to
get this result.
Thanks,
Seenu
Answer Posted / oraclecodec
There must be some column such as 'TECHNOLOGY' that should
distinguish java ,.net and ABC apart from their versions.
Then its easier to arrive at a solution
SELECT TECHNOLOGY,COUNT(*) FROM BOOK GROUP BY TECHNOLOGY;
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What does varchar include?
How do you modify a table in sql?
What is data manipulation language?
Why do we use procedures in sql?
How to assign sql query results to pl sql variables?
What are few of the schema objects that are created using PL/SQL?
Can we use ddl commands in pl sql?
What is a function in oracle pl sql?
How does stored procedure reduce network traffic?
Can we enter data in a table in design view?
what is schema? : Sql dba
What is the advantage of index in sql?
Can we create clustered index without primary key?
Mention what is the use of function "module procedure" in pl/sql?
How do I start sql from command line?