Home | Add to Favorites | Ebooks Directory | News  
SQL & PL/SQL  Resources
Home
SQL , PL/SQL  Article
SQL Tutorial 
Books
SQL  Questions
SQL Code
PL/SQL Tutorial
SQL Reference
Welcome to  SQL Riddles

1.GROUP BY, ORDER BY can  be used in WHERE clause.

  1. true
  2. false


ans:B



 

2.select empname from employess empname like 'jack%';

what are the values given below can be returned by the query?

1.jackson and sonjack
2.jackson
3.sonjack
4.none fo the above

ans :2

3)Column alias name can be used for where clause ?

1.true
2.false

ans :2

)where clause can not appear after group by clause?

1.true
2.false

ans:1

5).How many joins required to avod cartesian product?

ans: n-1 joins for n tables

6).Which of these are set operators?

  1. union
  2. union all
  3. intersect
  4. minus
  5. all of the above


ans :E

7).A single row subquery may return many values.

  1. true
  2. false


ans :B

8).select regionid,regioname as region from regions order by 1,regions group by regionid;

      Will the above statement successfully execute?


  1. true
  2. false


ans:B

9).Which statement resists the high water mark?

  1. truncate
  2. delete
  3. drop
  4. none of the above


ans :A

10.B tree indexes is suitable for high cardinality columns

true
false

ans :A